MsgCreateCollection
Collections are initially created via MsgCreateCollection . The interface looks as follows.
The collectionId will be assigned at execution time and is obtainable in the transaction response. Subsequent updates to the collection will be through MsgUpdateCollection.
Creation Only Properties
The creation or genesis transaction for a collection is unique in a couple ways.
There are no permissions previously set, so there are no restrictions for what can be set vs not. Subsequent updates to the collection must follow any previously set permissions.
This is the only time that you can specify balancesType and the defaultBalances information (defaultOutgoingApprovals, defaultIncomingApprovals, defaultAutoApproveSelfInitiatedOutgoingTransfers, defaultAutoApproveSelfInitiatedIncomingTransfers, and defaultUserPermissions).
Rest of Fields
For the rest of the fields, we refer you to the following section.
Last updated