createpsbt - Bitcoin SV
Example code for the createpsbt json-rpc method. Сomplete guide on how to use createpsbt json-rpc in GetBlock.io Web3 documentation.
Parameters
Request
curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "createpsbt",
"params": [[{"txid": "myid", "vout": 0}], [{"data": "00010203"}], null, null],
"id": "getblock.io"}'Response
Last updated
Was this helpful?