Skip to main content

RPC · Quick start

  1. Console → App → enable RPC, copy the HTTP / WSS URL.
  2. Replace {network} and {token} with the real values.
curl -X POST "https://gateway.gelabs.org/rpc/ethereum-mainnet/YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

WebSocket:

npx wscat -c "wss://gateway.gelabs.org/rpc/ethereum-mainnet/YOUR_TOKEN"

If the copied URL includes extra path segments, use it as-is.