Get account info
POST
Calls the getAccountInfo 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":"4","method":"getAccountInfo","params":{"descriptor":"0xba98d6a5ac827632e3457de7512d211e4ff7e8bd","details":"basic","tokens":"derived","page":null,"pageSize":10,"from":null,"to":null,"contractFilter":""}}On EVM chains the response carries the account
nonce.
Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.