{"uid":"cap_NRQMCMxdTMjwg2eu4BZ2e","slug":"signalharness-bitcoin-weight-vsize-calculator-ebada040","name":"SignalHarness Bitcoin Weight & vSize Calculator","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_weight_vsize/invoke","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bitcoin_weight_request":{"type":"string","maxLength":65536,"minLength":2}}},"responseSchema":{"type":"json","example":{"replay":false,"result":{"warnings":["The transaction is not script-validated."],"service_id":"bitcoin_weight_vsize","evidence_scope":"caller_supplied_data","bitcoin_weight_vsize":"{\"stripped_size\":61,\"total_size\":61,\"virtual_size\":61,\"weight\":244,\"witness_size\":0}"},"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_weight_vsize","executionId":"example-execution","startedAtMs":0,"amountAtomic":"10000","resultSha256":"db4ce73c97862c159f4c92f8e8bdce8b32a36f62b2e2f853388131dc77b8ebe1","serviceVersion":"1.0.0","settlementReference":"0x0000000000000000000000000000000000000000000000000000000000000000"},"artifacts":[],"requestId":"example-request","executionId":"example-execution"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KlR-acYBG9qx8acTjAi2T","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the weight units and virtual size (vsize) of a Bitcoin transaction from caller-supplied transaction data","exampleAgentPrompt":"Can you calculate the weight and virtual size (vsize) of this Bitcoin transaction so I know how large it is for fee estimation? Here's the raw transaction data: 0100000001...","exampleUseCases":[{"title":"Fee estimation before broadcast","prompt":"I have a raw Bitcoin transaction hex and I need to know its vsize in vbytes before I broadcast it so I can estimate the correct fee — can you run it through the bitcoin weight and vsize calculator?"},{"title":"SegWit transaction size audit","prompt":"Can you compute the weight units and virtual size of this SegWit Bitcoin transaction? I want to confirm it's within a reasonable size before submitting it to the mempool."},{"title":"Wallet developer transaction size check","prompt":"I'm building a Bitcoin wallet and need to verify my transaction serialization produces the correct weight and vsize — here's the raw transaction, can you calculate it for me?"}],"resultDescription":"Returns a JSON object containing the computed bitcoin_weight_vsize value (the transaction's virtual size), any warnings generated during computation, an evidence_scope field indicating the data source was caller-supplied, plus a full receipt with payment details, latency, request/execution IDs, and a SHA-256 result hash for verification.","failureModes":["Invalid or malformed transaction hex returns an error or warning","Input string too short (below 2 characters) rejected at schema validation","Input exceeding 65536 characters rejected","Non-Bitcoin transaction data may produce incorrect or warning-laden output","Network or payment failures return non-succeeded status in receipt"],"whenToPreferThis":"Use this endpoint when you need a fast, on-demand computation of Bitcoin transaction weight and virtual size (vsize) for fee estimation, size auditing, or transaction validation — especially when you already have raw transaction data and need a reliable, paid, agent-native API response with a cryptographic receipt for auditability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:04:53.721Z","isFirstParty":false}