Indexer API Documentation
HTTP API documentation for the Mina Indexer API service provided by DataHub
Health
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/health
Path Parameters
string
Status
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/status
Returns the current service status along with node version and sync status
Path Parameters
string
Height
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/height
Path Parameters
string
Block
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/block
Path Parameters
string
Blocks Search
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/blocks
Returns a set of blocks that match input parameters.
Query Parameters
min_height
integer
Start height
max_height
integer
End height
creator
string
Block producer public key
limit
integer
Number of blocks to return
sort
string
Sort field
order
string
Sort order
Block Details
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/blocks/{id}
Returns block details and all associated information, like validators, snarkers, transactions.
Path Parameters
id
string
Block number or hash
Block Stats
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/block_stats
Returns aggregated block statistics
Query Parameters
interval
string
Stats interval
period
integer
Stats period
Block Times
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/block_times
Returns the average block production time for N latest blocks.
Query Parameters
limit
integer
Number of block to include in calculation
Validators
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/validators
Path Parameters
string
Snarkers
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/snarkers
Path Parameters
string
Validator stats
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/validators/{id}
Returns aggregated validator statistics
Query Parameters
interval
string
Stats interval
period
integer
Stats period
Active delegations
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/delegations
Returns active delegations
Query Parameters
public_key
string
Account public key
delegate
string
Delegate account public key
Transaction Search
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/transactions
Returns transactions that match search input parameters.
Query Parameters
height
integer
Block height. Can't be used with block_hash
.
block_hash
string
Block hash.
account
string
Transaction sender or receiver.
sender
string
Sender public key.
receiver
string
Receiver public key.
type
string
Transaction type. Supports multiple comma-separate values.
memo
string
Transaction memo.
start_time
string
Period start time. Format YYYY-MM-DD
.
end_time
string
Period end time. Format: YYYY-MM-DD
after_id
integer
Start transaction ID. Can't be used with before_id
.
before_id
integer
End transaction ID. Can't be used with after_id
.
limit
integer
Number of transactions to return
Transaction Details
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/transactions/{hash}
Returns transaction details
Path Parameters
hash
string
Transaction hash
Account Details
GET
https://mina--devnet--indexer.datahub.figment.io/apikey/YOURAPIKEY/accounts/{id}
Returns information about account
Path Parameters
id
string
Account public key
Last updated