Namada Indexer API endpoint
The Indexer API endpoint is available through https://api.namada.info (opens in a new tab)
Block Endpoints
The list of endpoints available:
/block/height/:block_height/block/hash/:block_hash/block/last/tx/:tx_hash/tx/shielded/tx/vote_proposal/:proposal_id
/block/height/:block_height
This enpoint look for a specific block by its height.
Example:
curl -H 'Content-Type: application/json' https://api.namada.info/block/height/1/block/hash/:block_hash
This endpoint look for a specific block by its hash.
Example:
curl -H 'Content-Type: application/json' https://api.namada.info/block/hash/9d6dad4409536ab763c0b814379be71ad1f9176efe17292f143831fbad72109c/block/last
This endpoint will return the last block indexed. Example:
curl -H 'Content-Type: application/json' https://api.namada.info/block/lastTransaction Endpoints
/tx/:tx_hash
This endpoint will look for a specific transaction identified by tx_hash. Example:
curl -H 'Content-Type: application/json' https://api.namada.info/tx/c602b2f3b88811bfd7f3fdf866af3b1487bfd21c5b5ea7f7f9a16fb6bb915c24/tx/shielded
This endpoint returns a list of the shielded assets and their total compiled using all the shielded transactions (in, internal and out)
curl -H 'Content-Type: application/json' https://api.namada.info/tx/shielded/tx/vote_proposal/:proposal_id
This endpoint will look for a vote proposal identified by proposal_id(integer)
curl -H 'Content-Type: application/json' https://api.namada.info/tx/shielded