Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 682 Bytes

File metadata and controls

26 lines (21 loc) · 682 Bytes
description
Get the curated assets (shortlist in Xumm) for Trust Lines

getCuratedAssets()

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]
    }
  }
}