Optional
address?: NativeAddressThe address of the user. This can be their native address. Only one of address or username should be specified.
Optional
fetchIf true, we will fetch the $BADGE balance from the blockchain.
Optional
fetchIf true, we will fetch the sequence from the blockchain.
Optional
noIf true, we will avoid external API calls.
Optional
username?: stringThe username of the user. Only one of address or username should be specified.
Optional
viewsAn array of views to fetch
This defines the options for fetching additional account details.
A view is a way of fetching additional details about an account, and these will be queryable in the response via the
views
property.Each view has a bookmark that is used for pagination and must be supplied to get the next page.
We support the following views:
transferActivity
- Fetches the latest activity for the account.latestAnnouncements
- Fetches the latest announcements for the account.reviews
- Fetches the latest reviews for the account.badgesCollected
- Fetches the badges collected by the account sequentially in random order.