description |
---|
Get the curated assets (shortlist in Xumm) for Trust Lines |
The getCuratedAssets
method allows you to get the list of trusted issuers and IOU's. This is the same list used to populate the "Add Asset" button at the XUMM home screan.
const curatedAssets = await Sdk.getCuratedAssets();
Returns <CuratedAssetsResponse>
:
{
curatedAssets: {
issuers: [ 'Bitstamp', 'GateHub' ],
currencies: [ 'USD', 'BTC', 'EUR', 'ETH' ],
details: {
Bitstamp: [Object],
GateHub: [Object]
}
}
}