REST API reference
The explorer's own HTTP API. Lightweight JSON wrappers over JSON-RPC, plus computed views (balance formatting, validator metadata, QBFT consensus parameters). All endpoints are GET and return JSON.
Chain statistics — latest block number and average block time over the last 20 blocks.
{
"blockNumber": 106500,
"avgBlockTime": "5.0"
}curl -s https://chain.kxco.ai/api/stats
The 10 most recent blocks (headers only, no transaction details).
[
{
"number": 106500,
"hash": "0x...",
"parentHash": "0x...",
"timestamp": 1779260000,
"gasUsed": 0,
"gasLimit": 30000000,
"txCount": 0,
"transactions": [],
"miner": "0x...",
"size": 842,
"extraData": "0x..."
},
...
]curl -s https://chain.kxco.ai/api/blocks
A single block by number or hash, with the full list of transaction hashes.
| id | string | block number (decimal) or 32-byte block hash (0x-prefixed) |
{
"number": 106500,
"hash": "0x...",
"parentHash": "0x...",
"timestamp": 1779260000,
"gasUsed": 0,
"gasLimit": 30000000,
"txCount": 0,
"transactions": [],
"miner": "0x...",
"size": 842,
"extraData": "0x..."
}curl -s https://chain.kxco.ai/api/block/106500 curl -s https://chain.kxco.ai/api/block/0xa55d5fd66e19dd3a146c9037e9f8fb563b760f4f2b57cc99c0ae8bc54e3d5759
The 10 most recent transactions across recent blocks. Results are cached for 20 seconds. Scans the last 200 blocks.
[
{
"hash": "0x...",
"blockNumber": 106500,
"timestamp": 1779260000
},
...
]curl -s https://chain.kxco.ai/api/txns
A single transaction with its receipt.
| hash | DATA(32) | 32-byte transaction hash |
{
"hash": "0x...",
"blockNumber": 106500,
"from": "0x...",
"to": "0x...",
"value": "0x0",
"gas": 21000,
"gasPrice": "0x0",
"nonce": 0,
"input": "0x",
"status": "Success",
"gasUsed": 21000
}curl -s https://chain.kxco.ai/api/tx/0xabc...
ARMR balance for an address, formatted to four decimal places.
| addr | DATA(20) | 20-byte account address |
{
"address": "0x...",
"balance": "1234.5678",
"blockNumber": 106500
}curl -s https://chain.kxco.ai/api/address/0xc0f4710f6d73ee812d64a9f0d2a909ae702df91e
Active QBFT validator set with metadata (name, PQC address, blocks proposed in recent window).
{
"validators": [
{
"address": "0xc0f4710f...",
"name": "node1",
"pqcAddress": "0x563e34dd...",
"blocksProposed": 13,
"isActive": true
},
...
],
"totalValidators": 4,
"faultTolerance": 1,
"consensusThreshold": 3,
"sampleBlocks": 50
}curl -s https://chain.kxco.ai/api/validators
Validator set plus QBFT consensus parameters.
{
"validators": [ ... ],
"qbft": {
"n": 4,
"f": 1,
"threshold": 3,
"blockPeriodSeconds": 2,
"requestTimeoutSeconds": 10
}
}curl -s https://chain.kxco.ai/api/governance
Need something not listed here? The full JSON-RPC surface is exposed at /developers/rpc. This REST layer exists for convenience — anything it does can be done directly against the RPC endpoint.