platform_get_block_by_height
Get a P-Chain block by its height
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": {
"height": "<height>"
},
"name": "platform_get_block_by_height"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | Yes | The block height as a string | |
| network | No | Avalanche network to query (default: mainnet) | |
| encoding | No | Encoding format for the block (default: json) |