Bitcoin

Bitcoin is a proof-of-work Layer 1 blockchain that secures a UTXO-based ledger with SHA-256 mining and uses Bitcoin Script to define spending conditions.

Bitcoin uses the UTXO model: each transaction spends earlier outputs and creates new ones, and a wallet balance is the sum of its unspent outputs. Bitcoin Core nodes expose a JSON-RPC API for blocks, transactions, the mempool, fee estimation, and broadcasting raw transactions. Addresses start with 1 for legacy P2PKH, 3 for P2SH, bc1q for SegWit, and bc1p for Taproot, and fees are paid in BTC, quoted in satoshis per virtual byte.

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

Bitcoin RPC at a glance

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

Bitcoin RPC endpoints

↳ JSON-RPC
https://bitcoin-mainnet.gateway.tatum.io
↳ REST API
https://bitcoin-mainnet.gateway.tatum.io/rest
↳ Electrs JSON-RPC
https://bitcoin-mainnet-electrs.gateway.tatum.io
↳ JSON-RPC
https://bitcoin-testnet.gateway.tatum.io
↳ REST API
https://bitcoin-testnet.gateway.tatum.io/rest
↳ JSON-RPC
https://bitcoin-testnet4.gateway.tatum.io
↳ REST API
https://bitcoin-testnet4.gateway.tatum.io/rest
↳ JSON-RPC
https://bitcoin-signet.gateway.tatum.io

Get the latest Bitcoin block

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

Get the Bitcoin node version

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

Test Bitcoin RPC methods in Postman

The Bitcoin 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 interfaces and methods

Each Bitcoin 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 Mainnet

JSON-RPC

Base URL: https://bitcoin-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-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}

Electrs JSON-RPC · JSON-RPC

Base URL: https://bitcoin-mainnet-electrs.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 Signet

JSON-RPC

Base URL: https://bitcoin-signet.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
Bitcoin Testnet

JSON-RPC

Base URL: https://bitcoin-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-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}
Bitcoin Testnet4

JSON-RPC

Base URL: https://bitcoin-testnet4.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-testnet4.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}

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 RPC at FREERPC.com.