btg

Bitcoin Gold (BTG)

Method: POST decodepsbt

dropdown
POST

decodepsbt

Return a JSON object representing the serialized, base64-encoded partially signed Bitcoin transaction.

Parameters

psbt - string, required

Request

curl --location --request POST 'https://btg.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "decodepsbt",
"params": ["psbt"],
"id": "getblock.io"}'


Response

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