spraay_rpc_call
Execute multi-chain JSON-RPC calls across Ethereum, Solana, and other networks. Pay $0.001 USDC per request using the x402 protocol, no API keys required.
Instructions
Make a premium multi-chain JSON-RPC call via Alchemy (EVM) or Helius (Solana). Supports Base, Ethereum, Arbitrum, Polygon, BNB Chain, Avalanche, and Solana. Costs $0.001 USDC.
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": {
"chain": "<chain>",
"method": "<method>"
},
"name": "spraay_rpc_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain identifier (e.g. 'base', 'ethereum', 'arbitrum', 'polygon', 'bnb', 'avalanche', 'solana') | |
| method | Yes | JSON-RPC method (e.g. 'eth_getBalance', 'eth_blockNumber', 'eth_call', 'eth_getTransactionReceipt') | |
| params | No | RPC method parameters as array (e.g. ['0xAddress', 'latest']) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |