{"uid":"cap_bIYDYMg-J36_RDoHhq9uR","slug":"signalharness-bitcoin-script-classifier-1b794766","name":"SignalHarness Bitcoin Script Classifier","description":"Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.","url":"https://signalharness.ai/api/agent/services/bitcoin_script_classify/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bitcoin_script_request":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["Classification does not execute or validate scripts."],"service_id":"bitcoin_script_classify","evidence_scope":"caller_supplied_data","bitcoin_script_classification":"{\"scripts\":[{\"byte_length\":25,\"script_hex\":\"76a914111111111111111111111111111111111111111188ac\",\"type\":\"p2pkh\"},{\"byte_length\":22,\"script_hex\":\"00142222222222222222222222222222222222222222\",\"type\":\"p2wpkh\"}]}"},"status":"succeeded","receipt":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","usage":[],"status":"succeeded","network":"eip155:8453","artifacts":[],"endedAtMs":0,"latencyMs":0,"paymentId":"example-payment","receiptId":"example-receipt","requestId":"example-request","serviceId":"bitcoin_script_classify","executionId":"example-execution","startedAtMs":0,"amountAtomic":"5000","resultSha256":"9e7b390d5d88e9e26d4a39601c3d9cb722c333b2ab0e292d7918aa81a60040fd","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OxrgieXlsWJt18t-tbKDN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies a Bitcoin script (locking or unlocking script) into its type and provides warnings about potential issues","exampleAgentPrompt":"Can you classify this Bitcoin script for me and flag any potential issues: '76a914{pubKeyHash}88ac'? I need to know what type of script it is.","exampleUseCases":[{"title":"Identify unknown transaction script type","prompt":"I pulled this raw Bitcoin locking script from a transaction and I'm not sure what type it is — can you classify it for me? Here's the hex: '0014{witnessProgram}'."},{"title":"Audit Bitcoin wallet output scripts","prompt":"I'm reviewing a batch of Bitcoin outputs and need to check what script type this one uses and whether there are any warnings I should know about: '76a914{pubKeyHash}88ac'."},{"title":"Verify Taproot script before broadcast","prompt":"Before I broadcast this transaction, can you classify this Bitcoin script and tell me if there are any warnings? The script is: '5120{taprootWitnessProgram}'."}],"resultDescription":"Returns a JSON object containing the classification label for the Bitcoin script (e.g. P2PKH, P2SH, P2WPKH, P2WSH, P2TR, non-standard), a list of any warnings about the script, an evidence scope indicator ('caller_supplied_data'), and a full execution receipt including payment details, latency, and a SHA-256 result hash for auditability.","failureModes":["Invalid or malformed script input returns an error or unclassified result","Script too short (below minLength of 2 characters) rejected at input validation","Script exceeding 65536 characters rejected at input validation","Network or payment settlement failures captured in receipt status field","Unknown or non-standard scripts may return a generic classification with warnings"],"whenToPreferThis":"Choose this endpoint when you need programmatic, agent-friendly classification of raw Bitcoin scripts as part of a blockchain analysis, wallet auditing, or transaction inspection workflow. It is purpose-built for AI agents with per-call micropayment pricing via x402/USDC, making it ideal for on-demand script analysis without a subscription. Prefer it over general-purpose blockchain explorers when you need structured, machine-readable output with receipts and auditability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:59.086Z","isFirstParty":false}