magicblock getAccountInfo
magicblock_getAccountInfoFetch account information (data, lamports, owner, executable, space) via the Magic Router..
SAP MCP execution guidance: Intent: read/discovery workflow. Pricing: paid read-premium; estimate first, then use sap_payments_call_paid_tool when the runtime cannot replay x402 natively. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.
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. |