Optional
data: PartialMessage<BadgeCollection>The generated address of the badge collection.
The metadata for each badge in the collection, also subject to changes over time.
The type of balances this collection uses ("Standard", "Off-Chain - Indexed", "Off-Chain - Non-Indexed", or "Non-Public").
Transferability of the collection for collections with standard balances, subject to changes over time. Overrides user approvals for a transfer if specified. Transfer must satisfy both user and collection-level approvals. Only applicable to on-chain balances.
The unique identifier for this collection. This is assigned by the blockchain. First collection has ID 1.
The metadata for the collection itself, which can vary over time.
Optional
collectionPermissions that define what the manager of the collection can do or not do.
The user or entity who created the badge collection.
An arbitrary field that can store any data, subject to changes over time.
Optional
defaultThe default store of a balance for a user, upon genesis.
Whether the collection is archived or not, subject to changes over time. When archived, it becomes read-only, and no transactions can be processed until it is unarchived.
The address of the manager of this collection, subject to changes over time.
Metadata for fetching balances for collections with off-chain balances, subject to changes over time.
Standards that define how to interpret the fields of the collection, subject to changes over time.
The valid badge IDs for this collection.
Static
Readonly
fieldsStatic
Readonly
runtimeStatic
Readonly
typeStatic
equalsStatic
fromOptional
options: Partial<BinaryReadOptions>Static
fromOptional
options: Partial<JsonReadOptions>Static
fromOptional
options: Partial<JsonReadOptions>
A BadgeCollection is the top-level object for a collection of badges. It defines everything about the collection, such as the manager, metadata, etc.
All collections are identified by a collectionId assigned by the blockchain, which is a uint64 that increments (i.e. the first collection has ID 1).
All collections can have a manager who is responsible for managing the collection and can be granted certain admin permissions, such as the ability to mint new badges.
Certain fields are timeline-based, which means they may have different values at different block heights. We fetch the value according to the current time. For example, we may set the manager to be Alice from Time1 to Time2, and then set the manager to be Bob from Time2 to Time3.
Collections may have different balance types: standard vs. off-chain - indexed vs. inherited.vs off-chain - non-indexed vs non-public.
See documentation for more details.
Generated
from message badges.BadgeCollection