Prerequisites
- A Goldsky account (free to create)
Step 1: Get your endpoint
Edge RPC endpoints follow a simple URL format:{chainId} with the chain ID and YOUR_SECRET with your API secret from the dashboard.
| Network | Chain ID | Endpoint |
|---|---|---|
| Ethereum | 1 | https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET |
| Arbitrum One | 42161 | https://edge.goldsky.com/standard/evm/42161?secret=YOUR_SECRET |
| Base | 8453 | https://edge.goldsky.com/standard/evm/8453?secret=YOUR_SECRET |
| Optimism | 10 | https://edge.goldsky.com/standard/evm/10?secret=YOUR_SECRET |
| Polygon | 137 | https://edge.goldsky.com/standard/evm/137?secret=YOUR_SECRET |
Step 2: Make your first request
- curl
- JavaScript (fetch)
- Python