{"uid":"cap_CmwM0t-qYNbRzZMKoEPB9","slug":"chainquery-finalizepsbt-4f6d53c0","name":"chainquery finalizepsbt","description":"chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Finalize a complete PSBT and extract the network-ready raw transaction. Bitcoin Core finalizepsbt.","url":"https://x402.chainquery.com/v1/rpc/finalizepsbt","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"params":{"type":"string","description":"optional: JSON-encoded array of positional RPC params"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"description":"finalizepsbt result"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_jyPYYphwF2EfKg2MiqG3q","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":"Finalizes a PSBT (Partially Signed Bitcoin Transaction) and returns the network-ready raw transaction hex via Bitcoin Core RPC, pay-per-call over x402.","exampleAgentPrompt":"Finalize this PSBT for me and give me the raw transaction hex I can broadcast: cHNidP8BAHUCAAAAASaBcTce3/KF6Tet7qSze3gADAVmy7utVDCRT2HNyvnnAQAAAAD/////AgD0Bh...","exampleUseCases":null,"resultDescription":"Returns the Bitcoin Core finalizepsbt result object containing: 'psbt' (the finalized PSBT base64 if not fully signed), 'hex' (the network-ready raw transaction hex string if complete), and 'complete' (boolean indicating whether all inputs are fully signed and the raw tx is extractable).","failureModes":["Invalid or malformed PSBT string causes RPC error","PSBT not fully signed — returns complete:false with no hex","Malformed params JSON array returns 400 bad request","x402 payment not completed results in 402 Payment Required","Bitcoin Core node temporarily unavailable returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need to finalize a PSBT after all signers have contributed their signatures and want to extract the raw transaction hex for broadcast, without running your own Bitcoin Core node. Ideal for pay-as-you-go use cases where an API key is not desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:54:32.460Z","isFirstParty":false}