get_blocks
Retrieve a list of confirmed blocks between specified Solana blockchain slots using the MCP server. Ideal for analyzing transaction history or verifying block data.
Instructions
Returns a list of confirmed blocks between two slots.
Args: start_slot (int): Start slot as u64 integer end_slot (Optional[int], optional): End slot as u64 integer. Defaults to None.
Returns: str: List of blocks in the format "Blocks: {blocks}"
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end_slot | No | ||
start_slot | Yes |
Input Schema (JSON Schema)
{
"properties": {
"end_slot": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "End Slot"
},
"start_slot": {
"title": "Start Slot",
"type": "integer"
}
},
"required": [
"start_slot"
],
"title": "get_blocksArguments",
"type": "object"
}