Asset balances

Get an array of asset-balances for an account.

get

Returns information about an account's asset-balances. This is specific to the assets pallet for parachains. If no assets query parameter is provided, all asset-balances for the given account will be returned.

Path parameters
accountIdstring · SS58Required

SS58 address of the account.

Query parameters
atstring · unsignedInteger or $hexOptional

Block height (as a positive integer) or hash (as a hex string).

assetsstring[]Optional

An array of assetId numbers represented as strings

Responses
200
successfull operation
application/json
get
GET /accounts/{accountId}/asset-balances HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
{
  "at": {
    "hash": "text",
    "height": "text"
  },
  "assets": [
    {
      "assetId": "text",
      "balance": "text",
      "isFrozen": true,
      "isSufficient": true
    }
  ]
}