Home

Get balance history

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

Calls the getBalanceHistory method over a WebSocket connection.

Connection URL:

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

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

Example:

Copied!
wscat -c 'wss://maticbook.nownodes.io/wss/YOUR_API_KEY'
> {"id":"6","method":"getBalanceHistory","params":{"descriptor":"0x00008eb96bbe046aee645d8933adf151c4b7b614","from":null,"to":null,"currencies":[""],"groupBy":null}}

An address without activity in the requested window returns an empty array. With currencies set to an empty string, rates on each point lists all available currencies.

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.