Parameters
NoneReturns
The current chain ID (hex encoded)
Returns the chain ID of the current network
curl -X POST "https://edge.goldsky.com/standard/evm/1?secret=YOUR_SECRET" \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "eth_chainId", "params": [], "id": 1}'
Was this page helpful?