eth_getBalance
POST
Returns the balance of the account of the given address in wei, optionally at a block tag.
Sent as a JSON text message over the WebSocket connection wss://linea.nownodes.io/wss/{{api-key}}.
Connection URL:
Copied!
wss://linea.nownodes.io/wss/{{api_key}}.Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://linea.nownodes.io/wss/YOUR_API_KEY.'
> {"jsonrpc":"2.0","method":"eth_getBalance","id":1,"params":["0x407d73d8a49eeb85d32cf465507dd71d507100c1","latest"]}
Copied!
wss://linea.nownodes.io/wss/{{api-key}}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.