Skip to main content

combineRawTransaction

Overview

The 'combineRawTransaction' method allows you to merge multiple partially signed transactions into a single transaction. The resulting transaction can either be a partially signed or a fully signed transaction.

Request

wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'X-CoinAPI-Key: 4303fb63-adec-42dc-b571-74bc2f2a5167' \
--body-data '{"jsonrpc":"2.0","id":1,"method":"combineRawTransaction","params": [ ]}' \
'https://bitcoin-mainnet.node.coinapi.io'

Request Parameters

  • method (string, required): The method name, which should be "combineRawTransaction".
  • params (array, required): An array containing the hex strings of the partially signed transactions that you want to combine.
  • id (integer, required): A unique identifier for the request.
  • jsonrpc (string, required): The version of the JSON-RPC protocol, which should be "2.0".

Response

{
"result": null,
"error": {
"code": -32601,
"message": ""
},
"id": 1
}