Chain
Chain statistics, entries (blocks), transactions and transaction queries, and quorum consensus for rooted heights.
Get chain statistics
Current height and rooted height, the tip entry, supply figures, the current and next validator, emission for the epoch and per-validator stake. Cached for 1 s.
Get chain KPIs
Headline network figures: AMA burned, fees paid, active validator keys, peers, block time, total transactions and accounts holding coins. Cached for 10 s.
Get consensus for the rooted tip
The quorum BLS aggregate signature over the claim (state root and receipts root) of the rooted tip. Anchor for the proofs under Proof. Cached for 1 s. When the height is above the rooted height or has no quorum signature, the reply is HTTP 200 `{'error':'not_found'}`.
Get consensus for a height
The quorum aggregate signature over the claim of the main-chain entry at a rooted height. Use it to verify a contract state proof for the same height. When the height is above the rooted height or has no quorum signature, the reply is HTTP 200 `{'error':'not_found'}`.
Get latest entry (tip)
The current tip entry. It may not be finalized yet; compare its height with `rooted_height` from `/api/chain/stats`.
Get entry by hash
One entry by its hash. `next_entry_hash_finality_reached` is set when the next entry is known and final. With `filter_on_function`, the entry also carries `txs_filtered`: its transactions that call that function. On nodes that prune history, a miss is forwarded to an upstream node before answering 404.
Get entry by height
All entries this node holds at a height (usually one; check `in_main_chain`). On nodes that prune history, a miss is forwarded to an upstream node before answering 404.
Get entry by height with full transactions
Like `/api/chain/height/{height}`, with each entry's transactions and receipts in `txs`. These transactions carry `entry_hash` and `entry_height` but no `status`. On nodes that prune history, a miss is forwarded to an upstream node before answering 404.
Get transaction by ID
One transaction by hash. The response is the transaction object itself, with no `error` wrapper. A transaction still in this node's mempool comes back with `metadata: {'status':'pending'}` and no `receipt` or `result`. On nodes that prune history, a miss is forwarded to an upstream node before answering 404.
Get transaction events by account
Transactions an account sent (it is the signer) or received (it is the first argument), ordered by signer nonce. Each transaction's `metadata.tx_event` is `sent` or `recv`.
Query transactions by filter
General transaction query over the node's transaction index: filter by signer, first argument (the receiver of a transfer), contract and function. Results are ordered by signer nonce, not by height.
Get transactions in entry
The transactions of one entry, with receipts. They carry `entry_hash` and `entry_height` but no `status`. An unknown entry and an entry without transactions both answer 404 `not_found`.