Add GET /accounts/{accountID}/foreign-asset-balances
endpoint
#1449
Labels
C1 - Parachain
Related to a Parachain
I8 - Enhancement
Additional feature request
P7 - Nice to Have
Nice, but not urgent
The possibility of querying the balances of the foreign assets of a given account in Asset Hub should be enabled. Unlike for the existing
GET /accounts/{accountID}/asset-balances
case, in this case the optional inputassets
is an array of XCM locations. We assume the user knows how to provide this asset ID properly (in the same format it is provided in PJS API, Polkadot-API or Asset Transfer API), and no special validation for this input should be implemented. If there is no storage entry for the asset ID provided, we should just return error stating that the asset is not found.Note: This is the feature completing the previous issue: #1287
The text was updated successfully, but these errors were encountered: