bch

Bitcoin Cash (BCH)

Method: POST bch_combinerawtransaction

dropdown

POST bch_combinerawtransaction

Combine multiple partially signed transactions into one transaction.

The combined transaction may be another partially signed transaction or a fully signed transaction.

Parameters

txs - json array, required

A json array of hex strings of partially signed transactions

Request

curl --location --request POST 'https://bch.getblock.io' 
--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": {
        "code": -22,
        "message": "TX decode failed for tx 0"
    },
    "id": "getblock.io",
    "result": null
}
GetBlock.io

Get access to 40+ blockchain nodes right now! GetBlock provides a fast and reliable connection for the most popular cryptocurrencies` nodes.

Subscribe

Email is invalid

Products
For developers
Contact

Technical support:

support@getblock.io

General inquiries:

marketing@getblock.io

To contact Us:

Schedule a Call

2019 - 2021 GetBlock