Author Topic: WebSocket query format help  (Read 1338 times)

0 Members and 1 Guest are viewing this topic.

Offline wimaka

  • Newbie
  • *
  • Posts: 7
    • View Profile
I'm trying to retrieve the account balances for a few people and trying to get:

a) The amount of ETH in each account
b) The amount of ALL currencies in each account

I can't quite get these queries to work.  Can someone help?

Code: [Select]
// Query all
{"id":1, "method":"call", "params":[0,"get_account_balances", [["testuser-1",[]]]]}

// Query ETH
{"id":1, "method":"call", "params":[0,"get_account_balances", [["testuser-1",["ETH"]]]]}