Skip to main content

Parameters

address
string
required
Address to check balance (20 bytes)
blockNumber
string
required
Block number (hex), or latest, earliest, pending, safe, finalized

Returns

balance
string
Current balance in wei (hex encoded)

Example

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