Skip to main content
POST
https://api.hotstuff.trade
/
explorer
curl --request POST \
  --url https://api.hotstuff.trade/explorer \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "blocks",
    "params": {
        "offset": 60,
        "limit": 80
    }
}'
{
    "blocks": [
        {
            "block_height": 88771106,
            "block_hash": "0x26db4aad247ff63d980ad4cb5c468ca74efeb4c1261893b0de78e1406483c0d2",
            "parent_hash": "0x490546f45f47dd3508425918f35c47a72d31372d02282635c08563d79d640764",
            "change_log_hash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "timestamp": 1770139983834,
            "tx_count": 0,
            "created_at": 1770139983
        }
    ],
    "total": 88728964,
    "limit": 1,
    "offset": 0
}
Retrieve a paginated list of blocks with their details including block height, hash, parent hash, and transaction counts.
curl --request POST \
  --url https://api.hotstuff.trade/explorer \
  --header 'Content-Type: application/json' \
  --data '{
    "method": "blocks",
    "params": {
        "offset": 60,
        "limit": 80
    }
}'
{
    "blocks": [
        {
            "block_height": 88771106,
            "block_hash": "0x26db4aad247ff63d980ad4cb5c468ca74efeb4c1261893b0de78e1406483c0d2",
            "parent_hash": "0x490546f45f47dd3508425918f35c47a72d31372d02282635c08563d79d640764",
            "change_log_hash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
            "timestamp": 1770139983834,
            "tx_count": 0,
            "created_at": 1770139983
        }
    ],
    "total": 88728964,
    "limit": 1,
    "offset": 0
}

Request Body

method
string
default:"blocks"
required
Must be “blocks” for this endpoint
params
object
required