get_block
Retrieve block details from the Rootstock blockchain using either block number or hash for informed blockchain analysis and operations.
Instructions
Get block information by number or hash
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockHash | No | Block hash (alternative to blockNumber) | |
| blockNumber | No | Block number (alternative to blockHash) |
Input Schema (JSON Schema)
{
"properties": {
"blockHash": {
"description": "Block hash (alternative to blockNumber)",
"type": "string"
},
"blockNumber": {
"description": "Block number (alternative to blockHash)",
"type": "number"
}
},
"type": "object"
}