Skip to main content
POST
JSON-RPC proxy

Path Parameters

chainId
string
required

Chain ID (e.g. 1 for Ethereum, 137 for Polygon, 8453 for Base).

apiKey
string<password>
required

Your RouteMesh API key (from the dashboard).

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
string
required

JSON-RPC method name (e.g. eth_blockNumber, eth_call).

id
any
required
params

Method parameters (varies by method).

Response

JSON-RPC response (single or batch)

jsonrpc
enum<string>
required
Available options:
2.0
id
any
required
result
any

Result value (varies by JSON-RPC method).

error
object

JSON-RPC error object. See RPC Error Codes for full code → meaning and when each occurs.