Chain
Blockchain data and statistics
Retrieve current blockchain statistics including height, validators, etc.
Chain statistics
okGET /api/chain/stats HTTP/1.1
Host: nodes.amadeus.bot
Accept: */*
Chain statistics
{
"error": "ok",
"stats": {
"height": 1,
"validators": 1,
"epoch": 1
}
}Retrieve a blockchain entry by its hash
Entry hash (Base58 encoded)
Filter transactions by contract function name
Entry data
GET /api/chain/hash/{hash} HTTP/1.1
Host: nodes.amadeus.bot
Accept: */*
Entry data
{}Retrieve a blockchain entry by its height
Block height
Entry data
GET /api/chain/height/{height} HTTP/1.1
Host: nodes.amadeus.bot
Accept: */*
Entry data
{}Retrieve a blockchain entry by height including full transaction details
Block height
Entry data with transactions
GET /api/chain/height_with_txs/{height} HTTP/1.1
Host: nodes.amadeus.bot
Accept: */*
Entry data with transactions
{}Retrieve a transaction by its ID
Transaction ID (Base58 encoded)
Transaction data
GET /api/chain/tx/{txid} HTTP/1.1
Host: nodes.amadeus.bot
Accept: */*
Transaction data
{}Retrieve transaction history for a specific account with pagination and filtering
Account address (Base58 encoded)
Maximum number of transactions to return
100Number of transactions to skip
0Sort order
ascPossible values: Filter by transaction type
Pagination cursor (raw bytes)
Pagination cursor (Base58 encoded)
Filter by contract address (raw bytes)
Filter by contract address (Base58 encoded)
Filter by contract function name
Transaction events
Cursor for next page
GET /api/chain/tx_events_by_account/{account} HTTP/1.1
Host: nodes.amadeus.bot
Accept: */*
Transaction events
{
"cursor": "text",
"txs": [
{}
]
}Retrieve all transactions contained in a specific entry
Entry hash (Base58 encoded)
List of transactions
okGET /api/chain/txs_in_entry/{entry_hash} HTTP/1.1
Host: nodes.amadeus.bot
Accept: */*
List of transactions
{
"error": "ok",
"txs": [
{}
]
}Last updated