Skip to main content

Path parameters

apiKey
string
required
Your API key for authentication

Request

address
string
required
Address to check for balance
tag
string
Tag for the state (“latest”, “earliest”, “pending”). Defaults to “latest” if null

Example request params

[
  "0x407d73d8a49eeb85d32cf465507dd71d507100c1",
  "latest"
]
curl https://site1.moralis-nodes.com/opbnb/:apiKey \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_getBalance", "params": ["0x407d73d8a49eeb85d32cf465507dd71d507100c1", "latest"], "id": 1}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x0234c8a3397aab58"
}