JSON-RPC methods

Bitcoin RPC

You can review the official Bitcoin RPC documentation HERE.

Example RPC

curl https://api.chainup.net/bitcoin/mainnet/<YOUR_API_KEY> \
-X POST \
-H 'content-type: application/json' \
-H "CONSISTENT-HASH: true" \
--data '{"jsonrpc":"2.0","method":"getblockchaininfo","params":[],"id":1}'

Available Bitcoin API request methods

      "getbestblockhash"
      "getblock"
      "getblockchaininfo"
      "getblockcount"
      "getblockfilter"
      "getblockfrompeer"
      "getblockhash"
      "getblockheader"
      "getblockstats"
      "getchaintips"
      "getchaintxstats"
      "getdeploymentinfo"
      "getdifficulty"
      "getmempoolancestors"
      "getmempooldescendants"
      "getmempoolentry"
      "getmempoolinfo"
      "getrawmempool"
      "gettxout"
      "gettxoutproof"
      "gettxoutsetinfo"
      "gettxspendingprevout"
      "preciousblock"
      "pruneblockchain"
      "savemempool"
      "scantxoutset"
      "verifychain"
      "verifytxoutproof"

Last updated