magicblock getBlockhashForAccounts
magicblock_getBlockhashForAccountsRetrieve blockhash and last valid block height for up to 100 Solana account addresses. Supports mainnet and devnet endpoints at $0.01 per request.
Instructions
Get a blockhash and last valid block height for a batch of account addresses (max 100). Price: $0.01.
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. |