POSTcombinerawtransaction

Bitcoin Mainnethttps://bitcoin-mainnet.nodit.io/

Combines multiple partially signed transactions into one transaction and returns it as a serialized, hex-encoded string. The transaction becomes fully signed when all required signatures are supplied, and remains partially signed otherwise.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsoneOf[]required

It contains following parameter:

  1. txs: The hex strings of the partially signed transactions, as an array. (required)
params[0]string[]

The hex strings of the partially signed transactions to combine.

Responses

응답 본문이 없습니다.

X-API-KEY
RequestCU20
cURL
curl -X POST "https://bitcoin-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "combinerawtransaction",
  "params": [
    [
      "02000000013ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e5e4a000000006a47",
      "02000000013ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e5e4a00000000b500"
    ]
  ]
}'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "02000000013ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e5e4a00000000da00483045"
}