QTCtest

JSON API

Base path /api/v1. Amounts are integers in atoms. Hashes are big-endian hex.

MethodPathReturns
GET/chaintip, difficulty, mempool size, indexer lag
GET/statusindexer status
GET/blocks?before=&limit=block summaries, newest first
GET/block/{hash|height}block record with confirmations
GET/block/{hash|height}/headerthe 182-byte header fields
GET/tx/{txid}decoded transaction with P2MR witness decoding
GET/tx/{txid}/hexraw hex
GET/tx/{txid}/statusconfirmation 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/mempoolcount, bytes, fee-rate histogram
GET/mempool/txidstxid list
GET/feesestimatesmartfee in atoms/B
GET/difficultygetdifficultyhealth plus the last 120 block samples
GET/search?q=resolves height, hash, digest, txid, address or prefix