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

btg
Bitcoin Gold (BTG)

Method: POST combinerawtransaction

dropdown

方法 RPC combinerawtransaction 例如 Bitcoin Gold (BTG)

POST combinerawtransaction

将多个部分签署的交易组合为一项交易。

合并的交易可以是另一部分签署的交易或完全签名的交易。

Parameters

txs - json阵列,必需

一系列部分签名的交易的十六进制字符串

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": "combinerawtransaction",
"params": [["myhex1", "myhex2", "myhex3"]],
"id": "getblock.io"}'


Response

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