get_block
Fetch a Kaia block by number or hash to view its hash, parent, timestamp, miner, gas usage/limit, and transactions on mainnet or Kairos.
Instructions
Get block by number or hash. Returns block number, hash, parentHash, timestamp, miner, gasUsed, gasLimit, transactions count or list.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"blockNumberOrHash": "<blockNumberOrHash>"
},
"name": "get_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | mainnet or kairos (default: mainnet) | |
| blockNumberOrHash | Yes | Block number (integer or hex) or block hash (0x + 64 hex) | |
| includeTransactions | No | Include full transaction list (default: false) |