Thor Get Block
thorGetBlockFetch block data from VeChain Thor by block number, label, or ID. Supports best, finalized, next, justified, hex, or numeric values for blockchain queries.
Instructions
Get block details from Thor network
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": {
"blockRevision": "<blockRevision>"
},
"name": "thorGetBlock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockRevision | Yes | The block number, label or id to retrieve |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| network | Yes |