utxoupdatepsbt - DigiByte

Example code for the utxoupdatepsbt json-rpc method. Сomplete guide on how to use utxoupdatepsbt json-rpc in GetBlock.io Web3 documentation.

Parameters

psbt - string, required

A base64 string of a PSBT

descriptors - json array, optional

An array of either strings or objects

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "utxoupdatepsbt",
"params": ["psbt", null],
"id": "getblock.io"}'

Response

{
    "error": null,
    "id": "getblock.io",
    "result": null
}

Last updated