# get_account_balances

get_account_balances queries the address based on the account name.

request

{
  "jsonrpc": "2.0", 
  "method": "get_account_balances", 
  "params": ["zb"], 
  "id": 1
}

Input parameters

  • account name

response

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": [
        {
            "amount": 0,
            "asset_id": "1.3.0"
        }
    ]
}

return value

Return to the user balance list, multiple assets are displayed separately. If the address has never been transferred, the list is empty.

  • amount: amount
  • asset_id: asset type id (can be viewed through get_asset)