GET /api/block/:hash | json | Returns the details of a block by hash. |
GET /api/block/:height | json | Returns the details of a block by height. |
GET /api/blocks/tip/height | integer | Returns the height of the chain tip. |
GET /api/blocks/tip/hash | string | Returns the block hash of the chain tip. |
GET /api/tx/:txid | json | Returns the details of a transaction. |
GET /api/blockchain/coins | number | Returns the current supply of Bitcoin. An estimate using a checkpoint can be returned in 2 cases: on 'slow' devices, and before the UTXO set summary is loaded. |
GET /api/blockchain/max-supply | number | Returns the maximum total supply of Whive. |
GET /api/mining/hashrate | json | Returns the network hash rate, estimated over the last 1, 7, 30, 90, and 365 days. |
GET /api/mining/diff-adj-estimate | number | Returns the current estimate for the next difficulty adjustment as a percentage. |
GET /api/mempool/count | integer | Returns the number of transactions in Bitcoin Core's mempool. |
GET /api/mempool/fees | json | Returns recommended fee rates in sats/vB for next block, ~30 min, 1 hr, and 1 day. |
GET /api/util/xyzpub/:extendedPubkey | json | Returns details for the specified extended public key, including related keys and addresses. | Optional params:limitoffset |
GET /api/price | json | Returns the price of 1 BTC, in USD, EUR, GBP, and XAU |
GET /api/price/:currency | number | Returns the price of 1 BTC, in one of USD, EUR, GBP, XAU |
GET /api/price/:currency/marketcap | number | Returns the market cap of Bitcoin, in one of USD, EUR, GBP, XAU |
GET /api/price/:currency/sats | number | Returns the price of 1 unit in 'currency' (e.g. $1) in satoshis |
GET /api/quotes/:index | json | Returns the Bitcoin quote with the given index from the curated list. |
GET /api/quotes/random | json | Returns a random Bitcoin quote from the curated list. |
GET /api/version | string | Returns the semantic version of the public API, which is maintained separate from the app version. |