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

btc
Bitcoin (BTC)

Method: POST walletprocesspsbt

dropdown

Method RPC walletprocesspsbt example for Bitcoin (BTC)

POST walletprocesspsbt

Method not allowed

Update a PSBT with input information from our wallet and then sign inputs that we can sign for.

Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.

Parameters

psbt - string, required

The transaction base64 string

Request

curl --location --request POST 'https://btc.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"
}