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

bch
Bitcoin Cash (BCH)

Method: POST walletprocesspsbt

dropdown

方法 RPC walletprocesspsbt 例如 Bitcoin Cash (BCH)

POST walletprocesspsbt

方法不允许

使用我们钱包中的输入信息更新 PSBT,然后签署我们可以签署的输入。

如果钱包已加密,则需要使用 walletpassphrase 调用设置钱包密码。

Parameters

psbt - 字符串,必填

交易 base64 字符串

Request

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


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}