magicblock getAccountInfo
magicblock_getAccountInfoFetch account details including data, lamports, owner, executable flag, and space on Solana via Magic Router.
Instructions
Fetch account information (data, lamports, owner, executable, space) via the Magic Router..
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": {
"account": "<account>"
},
"name": "magicblock_getAccountInfo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account pubkey to fetch info for | |
| encoding | No | Encoding for account data | |
| 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. |