FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
⚡ Test Our Private Nodes of 40+ Blockchains just for $50!
Method: POST signrawtransactionwithkey
Sign inputs for raw transaction (serialized, hex-encoded).
The second argument is an array of base58-encoded private keys that will be the only keys used to sign the transaction.
The third 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.
hexstring
- string, required
The transaction hex string
privkeys
- json array, required
The base58-encoded private keys for signing
prevtxs
- json array, optional
The previous dependent transaction outputs
sighashtype
- string, optional, default=ALL
The signature hash type. Must be one of:
ALL
NONE
SINGLE
ALL|ANYONECANPAY
NONE|ANYONECANPAY
SINGLE|ANYONECANPAY
curl --location --request POST 'https://bch.getblock.io/mainnet/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "signrawtransactionwithkey", "params": ["hexstring", "privkeys", null, null], "id": "getblock.io"}'
null
POST getbestblockhash
POST getblock
POST getblockchaininfo
POST getblockcount
POST getblockhash
POST getblockheader
POST getblockstats
POST getchaintips
POST getchaintxstats
POST getdifficulty
POST getfinalizedblockhash
POST getmempoolancestors
POST getmempooldescendants
POST getmempoolentry
POST getmempoolinfo
POST getrawmempool
POST gettxout
POST gettxoutproof
POST preciousblock
POST getmemoryinfo
POST getrpcinfo
POST help
POST uptime
POST getblocktemplate
POST getmininginfo
POST getnetworkhashps
POST combinepsbt
POST combinerawtransaction
POST converttopsbt
POST createpsbt
POST createrawtransaction
POST decodepsbt
POST decoderawtransaction
POST decodescript
POST finalizepsbt
POST fundrawtransaction
POST getrawtransaction
POST sendrawtransaction
POST signrawtransactionwithkey
POST testmempoolaccept
POST validateaddress
POST verifymessage
POST finalizeblock
POST getdsproof
POST getdsprooflist
POST gettxoutsetinfo
POST invalidateblock
POST parkblock
POST pruneblockchain
POST reconsiderblock
POST savemempool
POST scantxoutset
POST unparkblock
POST verifychain
POST verifytxoutproof
POST logging
POST stop
POST getblocktemplatelight
POST prioritisetransaction
POST submitblock
POST submitblocklight
POST submitheader
POST addnode
POST clearbanned
POST disconnectnode
POST getaddednodeinfo
POST getconnectioncount
POST getexcessiveblock
POST getnettotals
POST getnetworkinfo
POST getnodeaddresses
POST getpeerinfo
POST listbanned
POST ping
POST setban
POST setnetworkactive
POST setexcessiveblock
POST createmultisig
POST estimatefee
POST signmessagewithprivkey
POST abortrescan
POST addmultisigaddress
POST createwallet
POST dumpprivkey
POST dumpwallet
POST encryptwallet
POST getaddressesbylabel
POST getaddressinfo
POST getbalance
POST getbalances
POST getnewaddress
POST getrawchangeaddress
POST getreceivedbyaddress
POST getunconfirmedbalance
POST getwalletinfo
POST importaddress
POST importmulti
POST importprivkey
POST importprunedfunds
POST importpubkey
POST importwallet
POST keypoolrefill
POST listaddressgroupings
POST listlabels
POST listlockunspent
POST listsinceblock
POST listtransactions
POST listunspent
POST listwalletdir
POST listwallets
POST loadwallet
POST lockunspent
POST removeprunedfunds
POST rescanblockchain
POST sendmany
POST sendtoaddress
POST sethdseed
POST setlabel
POST settxfee
POST setwalletflag
POST signmessage
POST signrawtransactionwithwallet
POST unloadwallet
POST walletcreatefundedpsbt
POST walletprocesspsbt
POST generate
POST generatetoaddress
POST listlockunspent
POST listtransactions
Nodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitPartnerships
Media KitFeel Free to Reach Out Anytime! 👋
FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
KakaoTalk