Home

eth_getAssetBalance

POST
wss://avax.nownodes.io/wss/{api_key}

Retrieves the balance of first class Avalanche Native Tokens on the C-Chain (excluding AVAX, which must be fetched with eth_getBalance).

Connection URL:

Copied!
wss://avax.nownodes.io/wss/{{api_key}}

Open the connection, then send the message below as a text frame.

Example:

Copied!
wscat -c 'wss://avax.nownodes.io/wss/YOUR_API_KEY'
> {"jsonrpc":"2.0","method":"eth_getAssetBalance","params":["0x8723e5773847A4Eb5FeEDabD9320802c5c812F46","latest","3RvKBAmQnfYionFXMfW5P8TDZgZiogKbHjM8cjpu16LKAgF5T"],"id":1}

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.