RESTful API for exploring the Irium blockchain
GET /api/blocks?page=1&per_page=10
Get paginated list of blocks
GET /api/block?hash=BLOCK_HASH
Get block by hash
GET /api/block/HEIGHT
Get block by height (e.g., /api/block/5)
GET /api/latest?count=10
Get latest N blocks
GET /api/stats
Get blockchain statistics
GET /api/mempool
Get pending transactions in mempool
curl http://localhost:8082/api/stats curl http://localhost:8082/api/latest?count=5 curl http://localhost:8082/api/block/2