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.
Starknet: Native Starknet JSON-RPC: starknet_blockNumber, starknet_getBlockWithTxs, starknet_call, starknet_estimateFee, starknet_traceTransaction, starknet_getEvents, etc. Transaction-submission methods are blocked at the gateway: starknet_addDeclareTransaction, starknet_addDeployAccountTransaction, starknet_addInvokeTransaction.
Cosmos SDK chains (cosmoshub, osmosis, axelar, noble, agoric): Tendermint RPC methods (status, block, tx, abci_query, 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" \
-d '{
"jsonrpc": "2.0",
"method": "rpcProxy",
"params": {
"chain": "ethereum",
"method": "eth_blockNumber",
"params": []
},
"id": 1
}'{
"jsonrpc": "2.0",
"result": {
"data": {
"jsonrpc": "2.0",
"result": "0x1234567",
"id": 1
}
},
"id": 1
}Parameters
| Name | Required | Description |
|---|---|---|
| chain | yes | Network slug |
| method | yes | Native RPC method name (e.g. eth_blockNumber, eth_getBalance) |
| params | no | Method parameters as JSON array (e.g. [] or ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "latest"]) e.g. [] |
Response Fields
| Field | Type |
|---|---|
data | object |
jsonrpc | string |
result | string |
id | integer |