Account asset balances
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Changed. If the query for some asset fails, the asset is no longer silently dropped: the response carries partial: true and the failed assets are listed in the new errors array (assetId, reason). When partial is true, a missing asset must not be treated as a zero balance. New query parameter strict: when true, the endpoint returns 503 instead of a partial 200. Addresses encoded with any SS58 prefix are now accepted; before, an address from another network was rejected with 400.
Returns asset balances for a given account on Asset Hub chains. A missing assetId means the account holds none of that asset; when partial is true the asset list is incomplete (some per-asset queries failed, see errors) and a missing assetId must NOT be treated as a zero balance.
Parameters
accountIdstringrequiredpathSS58-encoded account address
atstringqueryBlock hash or number to query at
useRcBlockbooleanqueryTreat 'at' as relay chain block identifier
assetsstringqueryComma-separated list of asset IDs to query
showEmptybooleanqueryWhen true, include assets with zero balance (default: false). Even with showEmpty, an asset whose query failed is omitted and listed in errors (not returned as zero), so this does not guarantee one entry per requested asset under partial failure.
strictbooleanqueryWhen true, return 503 if any per-asset query fails instead of a partial 200 (default: false)
Response
Account asset balances (may be partial; check the partial flag)
Invalid parameters
Internal server error
Service unavailable, or strict=true and a per-asset query failed