Skip to main content
This guide walks you through making your first RPC request with Edge RPC.

Prerequisites

Step 1: Get your endpoint

Edge RPC endpoints follow a simple URL format:
https://edge.goldsky.com/standard/evm/{chainId}?secret=YOUR_SECRET
Replace {chainId} with the chain ID and YOUR_SECRET with your API secret from the dashboard.
NetworkChain IDEndpoint
Ethereum1https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET
Arbitrum One42161https://edge.goldsky.com/standard/evm/42161?secret=YOUR_SECRET
Base8453https://edge.goldsky.com/standard/evm/8453?secret=YOUR_SECRET
Optimism10https://edge.goldsky.com/standard/evm/10?secret=YOUR_SECRET
Polygon137https://edge.goldsky.com/standard/evm/137?secret=YOUR_SECRET
See the full list of 265+ supported networks.

Step 2: Make your first request

curl https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_blockNumber",
    "params": [],
    "id": 1
  }'
Response:
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x134a1b0"
}