Last updated 2 months ago
psbt - string, required
psbt
A base64 string of a PSBT
extract - boolean, optional, default=true
extract
If true and the transaction is complete, extract and return the complete transaction in normal network serialization instead of the PSBT.
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' --header 'Content-Type: application/json' --data-raw '{"jsonrpc": "2.0", "method": "finalizepsbt", "params": ["psbt", null], "id": "getblock.io"}'
null
Example code for the finalizepsbt json-rpc method. Сomplete guide on how to use finalizepsbt json-rpc in GetBlock.io Web3 documentation.