API Reference

RPC endpoints and limits.

Interact with Base over REST or WebSocket using standard JSON-RPC.

Endpoints

HTTP

https://rpc.rpclaw.net/v1/base

WebSocket

wss://ws.rpclaw.net/v1/base/ws

Supported methods

  • eth_blockNumber
  • eth_getBalance
  • eth_getTransactionByHash
  • eth_getTransactionReceipt
  • eth_getBlockByNumber
  • eth_call
  • eth_sendRawTransaction
  • eth_estimateGas
  • eth_getLogs
  • eth_gasPrice
  • net_version
  • net_listening
  • web3_clientVersion

Rate limits

Tier Burst Throughput
Free 10,000/day 10 req/sec
Dev 1,000,000/day 100 req/sec
Pro Unlimited 1,000 req/sec

Burst limits reset daily. Contact support for enterprise plans.

Error codes

429

Rate limit exceeded

Slow down or upgrade to higher tier.

401

Unauthorized

Missing or invalid API key (Dev/Pro tiers).

500

Internal node error

Base node unable to fulfill the request.

Batch requests

Send multiple JSON-RPC calls in one HTTP POST by passing an array.

POST https://rpc.rpclaw.net/v1/base
Content-Type: application/json

[
  {"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1},
  {"jsonrpc":"2.0","method":"net_version","params":[],"id":2}
]

Batch requests count toward your rate limit like individual calls.