Skip to Content
API ReferenceJSON-RPC Proxy

JSON-RPC Proxy

Forward raw JSON-RPC calls to chain nodes through the same unified POST /v1 interface as all other Spectrum methods. Use the rpcProxy method with the native RPC method name and parameters nested inside params.

{ "jsonrpc": "2.0", "method": "rpcProxy", "params": { "chain": "ethereum", "method": "eth_blockNumber", "params": [] }, "id": 1 }

The request is forwarded as-is to the chain’s RPC node. Dangerous methods (admin, personal, miner, wallet operations) are blocked.

Supported Methods

EVM chains: All standard Ethereum JSON-RPC methods: eth_blockNumber, eth_getBalance, eth_call, eth_getTransactionReceipt, eth_getLogs, trace_*, debug_*, etc.

Solana: Native JSON-RPC methods: getSlot, getBalance, getAccountInfo, getTransaction, getBlock, etc.

Bitcoin: Bitcoin Core RPC methods: getblockcount, getblockhash, getblock, getrawtransaction, etc.


rpcProxy

Forwards raw JSON-RPC calls directly to the chain node via the unified JSON-RPC interface. Supports all native RPC methods — EVM (eth_*, trace_*, debug_*), Solana, and Bitcoin. Dangerous methods (admin, personal, miner, wallet operations) are blocked.

curl -X POST https://your-endpoint.simplystaking.xyz/v1 \
  -H "Content-Type: application/json" \
{
  "jsonrpc": "2.0",
  "method": "rpcProxy",
  "params": {
    "chain": "ethereum",
    "method": "eth_blockNumber",
    "params": []
  },
  "id": 1
}

Parameters

NameRequiredDescription
chainyesNetwork slug
methodyesNative RPC method name (e.g. eth_blockNumber, eth_getBalance)
paramsnoMethod parameters as JSON array (e.g. [] or ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "latest"])
e.g. []

Response Fields

FieldType
dataobject
jsonrpcstring
resultstring
idinteger

Supported Networks

EthereumPolygonBNB ChainOptimismBaseAvalancheArbitrumGnosisMoonbeamLineaHyperliquidSolanaBitcoin
Try It
{
  "jsonrpc": "2.0",
  "method": "rpcProxy",
  "params": {
    "chain": "ethereum",
    "method": "eth_blockNumber",
    "params": []
  },
  "id": 1
}