Bitcoin Cash JSON-RPC API
GetBlock provides fast and reliable access to Bitcoin Cash nodes via JSON-RPC API. Connect to the Bitcoin Cash network without running your own infrastructure.
Last updated
Was this helpful?
GetBlock provides fast and reliable access to Bitcoin Cash nodes via JSON-RPC API. Connect to the Bitcoin Cash network without running your own infrastructure.
The Bitcoin Cash (BCH) JSON-RPC API provides high-performance, indexed blockchain data via JSON methods. This allows you to perform complex, fast queries—such as fetching address transaction histories, wallet balances, xpub states, UTXOs, and real-time fiat conversion rates
https://go.getblock.io/GetBlock provides access to Bitcoin Cash Node JSON-RPC methods. Methods that require wallet or node-administration privileges are not available on shared endpoints and are omitted below.
getbestblockhash
Returns the hash of the best (tip) block
getblock
Returns block data by hash
getblockchaininfo
Returns blockchain state information
getblockcount
Returns the height of the chain tip
getblockhash
Returns the block hash at a height
getblockheader
Returns a block header by hash
getblockstats
Returns per-block statistics
getchaintips
Returns known chain tips
getchaintxstats
Returns chain-wide transaction statistics
getdifficulty
Returns the current difficulty
getfinalizedblockhash
Returns the finalized block hash
gettxout
Returns an unspent output
gettxoutproof
Returns a transaction inclusion proof
preciousblock
Marks a block as preferred during a tie
getrawmempool
Returns mempool transaction ids
getmempoolinfo
Returns mempool state
getmempoolentry
Returns a mempool entry
getmempoolancestors
Returns in-mempool ancestors
getmempooldescendants
Returns in-mempool descendants
getrawtransaction
Returns raw transaction data
sendrawtransaction
Broadcasts a signed transaction
createrawtransaction
Builds an unsigned transaction
decoderawtransaction
Decodes raw transaction hex
decodescript
Decodes a hex script
combinerawtransaction
Merges partially signed transactions
signrawtransactionwithkey
Signs a transaction with keys
testmempoolaccept
Tests mempool acceptance
createpsbt
Creates an empty PSBT
converttopsbt
Converts a raw transaction to PSBT
combinepsbt
Combines PSBTs
decodepsbt
Decodes a PSBT
finalizepsbt
Finalizes a PSBT
getmininginfo
Returns mining information
getnetworkhashps
Estimates network hash rate
getblocktemplate
Returns a block template for mining
getmemoryinfo
Returns node memory usage
getrpcinfo
Returns RPC server runtime state
uptime
Returns node uptime
validateaddress
Validates a BCH address
verifymessage
Verifies a signed message
help
Lists commands or command help
Last updated
Was this helpful?
Was this helpful?