Interface: iBitBadgesUserInfo<T>
T extends NumberType
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:40
Extends
iProfileDoc<T>.iAccountDoc<T>
Type Parameters
T
T extends NumberType
Properties
_docId
_docId:
string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/base.ts:13
A unique stringified document ID
Inherited from
_id?
optional_id?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/base.ts:16
A unique document ID (Mongo DB ObjectID)
Inherited from
accountNumber
accountNumber:
T
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:563
The account number of the account. This is the account number registered on the BitBadges blockchain.
WARNING (BB-34): post-v34 accounts get hash-derived account numbers larger than 2^53, which a JS
number cannot hold. Use BigIntify or Stringify when converting docs that carry this field —
Numberify silently corrupts it and the corrupted value is rejected by the signing pipeline.
Inherited from
activity
activity:
iTransferActivityDoc<T>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:52
A list of transfer activity items for the account. Paginated and fetched as needed. To be used in conjunction with views.
address
address:
string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:65
The native address of the account
airdropped?
optionalairdropped?:boolean
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:48
Indicates whether the account has claimed their airdrop.
alias?
optionalalias?:object
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:88
For advanced cases where you want a custom address or account for a collection or list. We map it to an account.
Experimental - For example, if you want to send a badge to a collection, you can transfer it to the alias account.
collectionId?
optionalcollectionId?:string
approvalTrackers
approvalTrackers:
iApprovalTrackerDoc<T>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:60
A list of approvals tracker activity items for the account. Paginated and fetched as needed. To be used in conjunction with views.
avatar?
optionalavatar?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:44
The avatar of the account.
balances?
optionalbalances?:iCosmosCoin<T>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:578
The BADGE balance of the account and other sdk.coin balances
Inherited from
bannerImage?
optionalbannerImage?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:622
The banner image URL of the account
Inherited from
bitbadgesAddress
bitbadgesAddress:
string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:567
The BitBadges address of the account
Inherited from
chain
chain:
SupportedChain
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:46
The chain of the account.
challengeTrackers
challengeTrackers:
iMerkleChallengeTrackerDoc<T>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:58
A list of merkle challenge activity items for the account. Paginated and fetched as needed. To be used in conjunction with views.
claimActivity?
optionalclaimActivity?:iClaimActivityDoc<T>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:54
A list of claim activity items for the account. Paginated and fetched as needed. To be used in conjunction with views.
collected
collected:
iBalanceDocWithDetails<T>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:50
A list of tokens that the account has collected. Paginated and fetched as needed. To be used in conjunction with views.
createdAt?
optionalcreatedAt?:T
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:603
The timestamp of when this account was created (milliseconds since epoch)
Inherited from
creatorCredits?
optionalcreatorCredits?:iCreatorCreditsDoc<T>
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:93
The credits for the account.
discord?
optionaldiscord?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:606
The Discord username of the account
Inherited from
ethAddress
ethAddress:
string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:569
The Eth address of the account
Inherited from
fetchedProfile?
optionalfetchedProfile?:"full"|"partial"
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:598
Whether we have already fetched the profile or not
Inherited from
github?
optionalgithub?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:610
The GitHub username of the account
Inherited from
hiddenTokens?
optionalhiddenTokens?:iBatchTokenDetails<T>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:617
The hidden tokens of the account
Inherited from
latestSignedInChain?
optionallatestSignedInChain?:SupportedChain
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:628
The latest chain the user signed in with
Inherited from
iProfileDoc.latestSignedInChain
notifications?
optionalnotifications?:iNotificationPreferences<T>
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:631
The notifications of the account
Inherited from
nsfw?
optionalnsfw?:object
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:68
Indicates whether the account is NSFW.
reason
reason:
string
pointsActivity?
optionalpointsActivity?:iPointsActivityDoc<T>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:56
A list of points activity items for the account. Paginated and fetched as needed. To be used in conjunction with views.
profilePicUrl?
optionalprofilePicUrl?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:620
The profile picture URL of the account
Inherited from
pubKeyType
pubKeyType:
string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:565
The public key type of the account
Inherited from
publicKey
publicKey:
string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:555
The public key of the account
Inherited from
readme?
optionalreadme?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:614
The readme of the account
Inherited from
reported?
optionalreported?:object
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:70
Indicates whether the account has been reported.
reason
reason:
string
resolvedName?
optionalresolvedName?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:42
The resolved name of the account (e.g. ENS name).
seenActivity?
optionalseenActivity?:T
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:601
The timestamp of the last activity seen for this account (milliseconds since epoch)
Inherited from
sequence?
optionalsequence?:T
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:576
The sequence of the account. This is the nonce for the blockchain for this account.
WARNING (BB-34): post-v34 unordered-tx nonces can be nanosecond timestamps larger than 2^53 —
same rule as accountNumber: convert with BigIntify/Stringify, never Numberify.
Inherited from
siwbbRequests
siwbbRequests:
iSIWBBRequestDoc<T>[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:62
A list of SIWBB requests for the account. Paginated and fetched as needed. To be used in conjunction with views.
tags?
optionaltags?:string[]
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:96
The tags for the account. Extra descriptors for what this address is used for (e.g. "Pool", "Governance", etc).
telegram?
optionaltelegram?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:612
The Telegram username of the account
Inherited from
twitter?
optionaltwitter?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:608
The Twitter username of the account
Inherited from
username?
optionalusername?:string
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/docs-types/interfaces.ts:625
The username of the account
Inherited from
views
views:
object
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/BitBadgesUserInfo.ts:73
The views for this collection and their pagination Doc. Views will only include the doc _ids. Use the pagination to fetch more. For example, if you want to fetch the activity for a view, you would use the view's pagination to fetch the doc _ids, then use the corresponding activity array to find the matching docs.
Index Signature
[viewId: string]: { ids: string[]; pagination: PaginationInfo; type: string; } | undefined