Bitcoin Cash

Bitcoin Cash is a proof-of-work Layer 1 that forked from Bitcoin in 2017, keeps SHA-256 mining and the UTXO model, and supports native CashTokens.

Bitcoin Cash keeps Bitcoin's UTXO transaction model and SHA-256 proof of work, but it has no SegWit and uses an adaptive block size limit. Addresses use the CashAddr format with a bitcoincash: prefix, and legacy Base58 addresses remain valid. CashTokens add native fungible tokens and NFTs carried on UTXOs. Nodes such as Bitcoin Cash Node expose a bitcoind-style JSON-RPC API and an optional REST interface, and BCH pays transaction fees.

Plans, pricing and dedicated nodes: Bitcoin Cash RPC nodes on tatum.io. Network tiers: Supported Blockchains. Chain documentation: Bitcoin Cash official website.

Bitcoin Cash RPC at a glance

Networks Mainnet and Testnet
Interfaces JSON-RPC and REST
Supported methods 74 · JSON-RPC methods · REST API endpoints
Native token BCH
Authentication API key in the x-api-key header, see Authentication

Bitcoin Cash RPC endpoints

Bitcoin Cash RPC networks

↳ JSON-RPC
https://bitcoin-cash-mainnet.gateway.tatum.io
↳ REST API
https://bitcoin-cash-mainnet.gateway.tatum.io/rest
↳ ROSTRUM JSON-RPC
https://bitcoin-cash-mainnet-rostrum.gateway.tatum.io
↳ JSON-RPC
https://bitcoin-cash-testnet.gateway.tatum.io
↳ REST API
https://bitcoin-cash-testnet.gateway.tatum.io/rest
↳ Rostrum JSON-RPC
https://bitcoin-cash-testnet-rostrum.gateway.tatum.io

Get the latest Bitcoin Cash block

Sends getblockcount to Bitcoin Cash Mainnet through Tatum RPC Gateway and shows the latest block number.

Get the Bitcoin Cash node version

Sends getblockchaininfo to Bitcoin Cash Mainnet through Tatum RPC Gateway and shows the node version and status.

Test Bitcoin Cash RPC methods in Postman

The Bitcoin Cash Postman collection has a ready request for the supported methods. Import it, set the gateway-api-key variable of the Tatum Gateway environment to your API key from Tatum Dashboard, and send any request.

Available Bitcoin Cash interfaces and methods

Each Bitcoin Cash network and interface below exposes its own set of RPC methods, listed live from Tatum's RPC Gateway. Query these endpoints for any interface to explore what it supports:

  • /_methods – machine-readable list of interfaces and methods
  • /llms.txt – human- and AI-readable documentation context
Bitcoin Cash Mainnet

JSON-RPC

Base URL: https://bitcoin-cash-mainnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • createrawtransaction
  • decoderawtransaction
  • decodescript
  • estimatefee
  • estimatesmartfee
  • getbestblockhash
  • getblock
  • getblockchaininfo
  • getblockcount
  • getblockhash
  • getblockheader
  • getblockstats
  • getchaintips
  • getdifficulty
  • getmempoolancestors
  • getmempoolcluster
  • getmempooldescendants
  • getmempoolentry
  • getmempoolfeeratediagram
  • getmempoolinfo
  • getnetworkinfo
  • getrawmempool
  • getrawtransaction
  • gettxout
  • gettxoutproof
  • searchrawtransactions
  • sendrawtransaction
  • submitpackage
  • testmempoolaccept
  • validateaddress
  • verifymessage
  • verifytxoutproof

REST API · REST

Base URL: https://bitcoin-cash-mainnet.gateway.tatum.io/rest

Discovery: /_methods · /llms.txt

  • GET /block/{block-hash}
  • GET /block/notxdetails/{block-hash}
  • GET /blockhashbyheight/{height}
  • GET /chaininfo.json
  • GET /getutxos/{outpoint}/{outpoint}/.../{outpoint}
  • GET /getutxos/checkmempool/{outpoint}/{outpoint}/.../{outpoint}
  • GET /headers/{block-hash}
  • GET /headers/{count}/{block-hash}
  • GET /mempool/contents.json
  • GET /mempool/info.json
  • GET /tx/{tx-hash}

ROSTRUM JSON-RPC · JSON-RPC

Base URL: https://bitcoin-cash-mainnet-rostrum.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • blockchain.address.decode
  • blockchain.address.get_balance
  • blockchain.address.get_history
  • blockchain.address.get_mempool
  • blockchain.address.listunspent
  • blockchain.address.subscribe
  • blockchain.address.unsubscribe
  • blockchain.block.get
  • blockchain.block.header
  • blockchain.block.headers
  • blockchain.estimatefee
  • blockchain.headers.subscribe
  • blockchain.headers.tip
  • blockchain.relayfee
  • blockchain.scripthash.get_balance
  • blockchain.scripthash.get_history
  • blockchain.scripthash.get_mempool
  • blockchain.scripthash.listunspent
  • blockchain.scripthash.subscribe
  • blockchain.scripthash.unsubscribe
  • blockchain.transaction.broadcast
  • blockchain.transaction.get
  • blockchain.transaction.get_merkle
  • blockchain.transaction.id_from_pos
  • mempool.count
  • mempool.get_fee_histogram
  • server.banner
  • server.donation_address
  • server.features
  • server.ping
  • server.version
Bitcoin Cash Testnet

JSON-RPC

Base URL: https://bitcoin-cash-testnet.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • createrawtransaction
  • decoderawtransaction
  • decodescript
  • estimatefee
  • estimatesmartfee
  • getbestblockhash
  • getblock
  • getblockchaininfo
  • getblockcount
  • getblockhash
  • getblockheader
  • getblockstats
  • getchaintips
  • getdifficulty
  • getmempoolancestors
  • getmempoolcluster
  • getmempooldescendants
  • getmempoolentry
  • getmempoolfeeratediagram
  • getmempoolinfo
  • getnetworkinfo
  • getrawmempool
  • getrawtransaction
  • gettxout
  • gettxoutproof
  • searchrawtransactions
  • sendrawtransaction
  • submitpackage
  • testmempoolaccept
  • validateaddress
  • verifymessage
  • verifytxoutproof

REST API · REST

Base URL: https://bitcoin-cash-testnet.gateway.tatum.io/rest

Discovery: /_methods · /llms.txt

  • GET /block/{block-hash}
  • GET /block/notxdetails/{block-hash}
  • GET /blockhashbyheight/{height}
  • GET /chaininfo.json
  • GET /getutxos/{outpoint}/{outpoint}/.../{outpoint}
  • GET /getutxos/checkmempool/{outpoint}/{outpoint}/.../{outpoint}
  • GET /headers/{block-hash}
  • GET /headers/{count}/{block-hash}
  • GET /mempool/contents.json
  • GET /mempool/info.json
  • GET /tx/{tx-hash}

Rostrum JSON-RPC · JSON-RPC

Base URL: https://bitcoin-cash-testnet-rostrum.gateway.tatum.io

Discovery: /_methods · /llms.txt

  • blockchain.address.decode
  • blockchain.address.get_balance
  • blockchain.address.get_history
  • blockchain.address.get_mempool
  • blockchain.address.listunspent
  • blockchain.address.subscribe
  • blockchain.address.unsubscribe
  • blockchain.block.get
  • blockchain.block.header
  • blockchain.block.headers
  • blockchain.estimatefee
  • blockchain.headers.subscribe
  • blockchain.headers.tip
  • blockchain.relayfee
  • blockchain.scripthash.get_balance
  • blockchain.scripthash.get_history
  • blockchain.scripthash.get_mempool
  • blockchain.scripthash.listunspent
  • blockchain.scripthash.subscribe
  • blockchain.scripthash.unsubscribe
  • blockchain.transaction.broadcast
  • blockchain.transaction.get
  • blockchain.transaction.get_merkle
  • blockchain.transaction.id_from_pos
  • mempool.count
  • mempool.get_fee_histogram
  • server.banner
  • server.donation_address
  • server.features
  • server.ping
  • server.version

Method unavailable?

If you need a method we don't support yet, please contact our support.
We'd be happy to assist.

Testing without an API key? Free public endpoints are listed on Bitcoin Cash RPC at FREERPC.com.