bch

Bitcoin Cash (BCH)

Method: POST bch_signrawtransactionwithwallet

dropdown

POST bch_signrawtransactionwithwallet

Method not allowed

Sign inputs for raw transaction (serialized, hex-encoded).

The second optional argument (may be null) is an array of previous transaction outputs that this transaction depends on but may not yet be in the block chain.

Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.

Parameters

hexstring - string, required

The transaction hex string

prevtxs - json array, optional

The previous dependent transaction outputs

sighashtype - string, optional, default=ALL

“ALL” “NONE” “SINGLE” “ALL|ANYONECANPAY” “NONE|ANYONECANPAY” “SINGLE|ANYONECANPAY”

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


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
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