Skip to main content

Indexer info

Indexer info and state

Retrieves the current status, sync progress, and current SMT root of PIVX Name Resolution Indexer node.

Endpoint

GET https://indexer.pivx.name/v1.0/info

This endpoint does not require any path parameters or a request body.


Code Examples

curl -X GET https://indexer.pivx.name/v1.0/info

Response Example

{
"response": {
"last_processed_evm_block": 273373172,
"last_processed_pivx_block": 5439410,
"last_checkpoint": {
"block_id": 5439410,
"smt_root": "51e3e006bd0d34d40c34cc91dff2fd6bd55152b6c1d8a3d59ab7e7673164974c",
"evm_block_id": 273373117,
"evm_tx_hash": "0x430638a4486911000ea29d41b6a63820ad3a62602fe74dad1b2627fc641ae6da"
},
"domains_count": 5,
"registrar_viewing_key": "pxviews1qd44j2dsquqqpq9f25fq69yvh9r26qhlaqd4mg66uwu7um5rkytjp85rwvs9tyru9lcjmr6dpjkmqz7dfp45k22lhqcwkm66d7347j6gsgdwvtjgu0x7sxw2xtqddfy3n3l7gs5xuu53p09csxjv4dekxxzydqjxvvqd5gvcf0zz39auvgpwsphglkmtlj3sjn96tacz8wesx3gc6e0p7tzmfmqyv7590vxqnewanc7l7aj2ytysljrmxz3e0sc0kn2espdardpdudg4ysf5g"
}
}
FieldTypeDescription
last_processed_evm_blockintLast processed EVM block (scan for new checkpoints)
last_processed_pivx_blockintLatest processed block on chain (usually last checkpoint's block_id)
domains_countintTotal names registered
registrar_addressstringAddress of the Registrar to process incoming TXes and escrow
registrar_viewing_keystringViewing key of the Registrar Shielded Address to get an access to Protocol history
last_checkpointLatest checkpoint information (latest SMT Root update)
smt_rootstringLatest Merkle tree root (hex)
block_idintPIVX block_id of the last checkpoint and SMT Root generation
evm_block_idintEVM block_id where last Proof is checked with SP1 smart contract
evm_tx_hashintEVM tx_id where last Proof was checked with SP1 smart contract
warning

If last_processed_pivx_block is significantly behind last_checkpoint.block_id, recent registrations may not be reflected yet.