POST https://rpc.opsalis.com/v1/{chain}/{apiKey}
Replace {chain} with a chain name, alias, or chain ID. Replace {apiKey} with your API key.
| Chain | ID | Accepted Values |
|---|---|---|
| Base | 8453 | base, base-mainnet, 8453 |
| Optimism | 10 | optimism, op, op-mainnet, 10 |
| Arbitrum | 42161 | arbitrum, arb, arbitrum-one, 42161 |
| Polygon | 137 | polygon, matic, polygon-pos, 137 |
| Ethereum | 1 | ethereum, eth, mainnet, 1 |
| Tier | Daily | Monthly | Per Second | Price |
|---|---|---|---|---|
| Free | 100K | 3M | 10 | $0 |
| Growth | 1M | 30M | 50 | $10 |
| Pro | 10M | 300M | 200 | $50 |
| Enterprise | Unlimited | Unlimited | 1,000 | $200 |
Rate limit headers are included in every response: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset.
| HTTP | Code | Meaning |
|---|---|---|
| 400 | -32001 | Unsupported chain |
| 401 | -32002 | Invalid API key |
| 429 | -32005 | Rate limit exceeded |
| 502 | -32003 | Node unavailable |
| 504 | -32004 | Node timeout |
All standard Ethereum JSON-RPC methods are supported. The most commonly used:
eth_blockNumber
eth_getBlockByNumber
eth_getBlockByHash
eth_getTransactionByHash
eth_getTransactionReceipt
eth_call
eth_estimateGas
eth_sendRawTransaction
eth_getBalance
eth_getCode
eth_getStorageAt
eth_getLogs
eth_gasPrice
eth_chainId
net_version
web3_clientVersion