call_rpc_method
Execute JSON-RPC methods on blockchain services to retrieve data and interact with networks like Ethereum, Polygon, Solana, and Cosmos.
Instructions
Call a JSON-RPC method on a specific blockchain service
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockchain | Yes | Blockchain name (e.g., "ethereum", "polygon") | |
method | Yes | RPC method name (e.g., "eth_blockNumber", "eth_getBalance") | |
network | No | Network type (defaults to mainnet) | |
params | No | Array of parameters for the RPC method |
Input Schema (JSON Schema)
{
"properties": {
"blockchain": {
"description": "Blockchain name (e.g., \"ethereum\", \"polygon\")",
"type": "string"
},
"method": {
"description": "RPC method name (e.g., \"eth_blockNumber\", \"eth_getBalance\")",
"type": "string"
},
"network": {
"description": "Network type (defaults to mainnet)",
"enum": [
"mainnet",
"testnet"
],
"type": "string"
},
"params": {
"description": "Array of parameters for the RPC method",
"type": "array"
}
},
"required": [
"blockchain",
"method"
],
"type": "object"
}