Interface: GetAdditionalCollectionDetailsPayload
Defines the options for fetching additional collection details.
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/collections.ts:384
Defines the options for fetching additional collection details.
A view is a way of fetching additional details about a collection, 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.
If the bookmark is not supplied, the first page will be returned.
Properties
approvalTrackersToFetch?
optionalapprovalTrackersToFetch?:iAmountTrackerIdDetails<NumberType>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/collections.ts:420
If present, the approvals trackers corresponding to the specified approvals tracker IDs will be fetched.
challengeTrackersToFetch?
optionalchallengeTrackersToFetch?:iChallengeTrackerIdDetails<NumberType>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/collections.ts:412
If present, the merkle challenge trackers corresponding to the specified merkle challenge IDs will be fetched.
disableDefaults?
optionaldisableDefaults?:boolean
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/collections.ts:416
Disable appending default approvals.
fetchPrivateParams?
optionalfetchPrivateParams?:boolean
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/collections.ts:424
Fetches private parameters for any claims in addition to public parameters.
fetchTotalBalances?
optionalfetchTotalBalances?:boolean
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/collections.ts:408
If true, the total and mint balances will be fetched.
viewsToFetch?
optionalviewsToFetch?:object[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/requests/collections.ts:388
If present, the specified views will be fetched.
address?
optionaladdress?:string
If specified, we will only fetch this users' activity.
bookmark
bookmark:
string
A bookmark to pass in for pagination. "" for first request.
oldestFirst?
optionaloldestFirst?:boolean
If defined, we will return the oldest items first.
tokenId?
optionaltokenId?:NumberType
IF specified, we will filter to this abdge ID (only applicable to utiity listings view currently)
viewId
viewId:
string
A unique view ID. This is used for pagination. All fetches w/ same ID should be made with same criteria.
viewType
viewType:
CollectionViewKey
The base view type to fetch.