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

btc
Bitcoin (BTC)

Method: POST walletcreatefundedpsbt

dropdown

方法 RPC walletcreatefundedpsbt 例如 Bitcoin (BTC)

POST walletcreatefundedpsbt

方法不允许

以部分签名交易格式创建交易并为其提供资金。

实现创建者和更新者角色。

Parameters

inputs - json 数组,可选

留空以自动添加输入。请参阅 add_inputs 选项。

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": "walletcreatefundedpsbt",
"params": [null],
"id": "getblock.io"}'


Response

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