Optional
_idA unique document ID (Mongo DB ObjectID)
The alias BitBadges address for the collection
The badge metadata timeline
The type of balances (i.e. "Standard", "Off-Chain - Indexed", "Non-Public, "Off-Chain - Non-Indexed")
The collection approved transfers timeline
The collection ID
The collection metadata timeline
The collection permissions
The block number when this collection was created
The BitBadges address of the user who created this collection
The timestamp when this collection was created (milliseconds since epoch)
The custom data timeline
The default balances for users who have not interacted with the collection yet. Only used if collection has "Standard" balance type.
The is archived timeline
The manager timeline
The off-chain balances metadata timeline
The standards timeline
The update history of this collection
Valid badge IDs for the collection
Deep copies the object and returns a new instance.
Converts the object to a different NumberType equivalent.
Optional
options: ConvertOptionsCompares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.
If normalizeNumberTypes
is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").
Optional
normalizeNumberTypes: booleanGets the badge metadata at a specific time (Date.now() by default).
This gets the timeline value. For the actual fetched value, use getBadgeMetadata()
instead.
Optional
time: NumberTypeGets the collection metadata at a specific time (Date.now() by default).
This gets the timeline value. For the actual fetched value, use getCollectionMetadata()
instead.
Optional
time: NumberTypeGets the custom data at a specific time (Date.now() by default).
Optional
time: NumberTypeCreates a blank balance object with the genesis default approvals and balances.
Gets the is archived at a specific time (Date.now() by default).
Optional
time: NumberTypeGets the manager at a specific time (Date.now() by default).
Optional
time: NumberTypeGets the off-chain balances metadata at a specific time (Date.now() by default).
Optional
time: NumberTypeGets the standards at a specific time (Date.now() by default).
Optional
time: NumberType
A unique stringified document ID