📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

btg
Bitcoin Gold (BTG)

Method: POST decodepsbt

dropdown

方法 RPC decodepsbt 例如 Bitcoin Gold (BTG)

POST decodepsbt

返回表示代表序列化的基本64编码部分签名的比特币事务的JSON对象。

Parameters

psbt - 字符串,需要

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
}