JSON API
Base path /api/v1. Amounts are integers in atoms. Hashes are big-endian hex.
| Method | Path | Returns |
|---|---|---|
| GET | /chain | tip, difficulty, mempool size, indexer lag |
| GET | /status | indexer status |
| GET | /blocks?before=&limit= | block summaries, newest first |
| GET | /block/{hash|height} | block record with confirmations |
| GET | /block/{hash|height}/header | the 182-byte header fields |
| GET | /tx/{txid} | decoded transaction with P2MR witness decoding |
| GET | /tx/{txid}/hex | raw hex |
| GET | /tx/{txid}/status | confirmation status |
| POST | /tx/broadcast | {"hex": "…"} → {"txid": "…"}; 64 KiB limit, testmempoolaccept first, rate limited |
| GET | /address/{addr} | balance and counters |
| GET | /address/{addr}/txs?before=&limit= | history, newest first |
| GET | /address/{addr}/utxo?from=&limit= | unspent outputs with script_pubkey for wallet verification |
| GET | /mempool | count, bytes, fee-rate histogram |
| GET | /mempool/txids | txid list |
| GET | /fees | estimatesmartfee in atoms/B |
| GET | /difficulty | getdifficultyhealth plus the last 120 block samples |
| GET | /search?q= | resolves height, hash, digest, txid, address or prefix |