Account foreign asset balances
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Changed. The foreignAssets filter now accepts locations in the same form the API returns them: grouped numbers ("1,000"), 0x-prefixed byte arrays and camelCase keys (chainId, blockNumber, blockHash). Snake case keys and plain numbers still work. Addresses encoded with any SS58 prefix are now accepted; before, an address from another network was rejected with 400.
Returns foreign asset balances for a given account on Asset Hub chains. Foreign assets use XCM MultiLocation as their identifier.
Parameters
accountIdstringrequiredpathSS58-encoded account address
atstringqueryBlock hash or number to query at
useRcBlockbooleanqueryTreat 'at' as relay chain block identifier
foreignAssetsArray<string>queryList of multilocation JSON strings to filter by
showEmptybooleanqueryWhen true, include assets with zero balance (default: false)
Response
Foreign asset balances
Invalid account or parameters
Internal server error
Service unavailable