magicblock getBlockhashForAccounts
magicblock_getBlockhashForAccountsRetrieve a blockhash and last valid block height for up to 100 Solana account addresses.
Instructions
Get a blockhash and last valid block height for a batch of account addresses (max 100)..
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": {
"accounts": "<accounts>"
},
"name": "magicblock_getBlockhashForAccounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accounts | Yes | Array of account addresses (max 100) | |
| endpoint | No | MagicBlock Router endpoint: 'mainnet' or 'devnet' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |