Name | Lookup | Parameters | |
|---|---|---|---|
| create | 0c00 | 2 | |
| force_create | 0c01 | 2 | |
| destroy | 0c02 | 2 | |
| mint | 0c03 | 4 | |
| force_mint | 0c04 | 4 | |
| burn | 0c05 | 2 | |
| transfer | 0c06 | 3 | |
| redeposit | 0c07 | 2 | |
| lock_item_transfer | 0c08 | 2 | |
| unlock_item_transfer | 0c09 | 2 | |
| lock_collection | 0c0a | 2 | |
| transfer_ownership | 0c0b | 2 | |
| set_team | 0c0c | 4 | |
| force_collection_owner | 0c0d | 2 | |
| force_collection_config | 0c0e | 2 | |
| approve_transfer | 0c0f | 4 | |
| cancel_approval | 0c10 | 3 | |
| clear_all_transfer_approvals | 0c11 | 2 | |
| lock_item_properties | 0c12 | 4 | |
| set_attribute | 0c13 | 5 | |
| force_set_attribute | 0c14 | 6 | |
| clear_attribute | 0c15 | 4 | |
| approve_item_attributes | 0c16 | 3 | |
| cancel_item_attributes_approval | 0c17 | 4 | |
| set_metadata | 0c18 | 3 | |
| clear_metadata | 0c19 | 2 | |
| set_collection_metadata | 0c1a | 2 | |
| clear_collection_metadata | 0c1b | 1 | |
| set_accept_ownership | 0c1c | 1 | |
| set_collection_max_supply | 0c1d | 2 | |
| update_mint_settings | 0c1e | 2 | |
| set_price | 0c1f | 4 | |
| buy_item | 0c20 | 3 | |
| pay_tips | 0c21 | 1 | |
| create_swap | 0c22 | 6 | |
| cancel_swap | 0c23 | 2 | |
| claim_swap | 0c24 | 5 | |
| mint_pre_signed | 0c25 | 3 | |
| set_attributes_pre_signed | 0c26 | 3 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Created | 0c00 | ["CollectionId","AccountId","AccountId"] | |
| ForceCreated | 0c01 | ["CollectionId","AccountId"] | |
| Destroyed | 0c02 | ["CollectionId"] | |
| Issued | 0c03 | ["CollectionId","ItemId","AccountId"] | |
| Transferred | 0c04 | ["CollectionId","ItemId","AccountId","AccountId"] | |
| Burned | 0c05 | ["CollectionId","ItemId","AccountId"] | |
| ItemTransferLocked | 0c06 | ["CollectionId","ItemId"] | |
| ItemTransferUnlocked | 0c07 | ["CollectionId","ItemId"] | |
| ItemPropertiesLocked | 0c08 | ["CollectionId","ItemId","bool","bool"] | |
| CollectionLocked | 0c09 | ["CollectionId"] | |
| OwnerChanged | 0c0a | ["CollectionId","AccountId"] | |
| TeamChanged | 0c0b | ["CollectionId","Option<AccountId>","Option<AccountId>","Option<AccountId>"] | |
| TransferApproved | 0c0c | ["CollectionId","ItemId","AccountId","AccountId","Option<BlockNumberFor>"] | |
| ApprovalCancelled | 0c0d | ["CollectionId","ItemId","AccountId","AccountId"] | |
| AllApprovalsCancelled | 0c0e | ["CollectionId","ItemId","AccountId"] | |
| CollectionConfigChanged | 0c0f | ["CollectionId"] | |
| CollectionMetadataSet | 0c10 | ["CollectionId","BoundedVec<u8, StringLimit>"] | |
| CollectionMetadataCleared | 0c11 | ["CollectionId"] | |
| ItemMetadataSet | 0c12 | ["CollectionId","ItemId","BoundedVec<u8, StringLimit>"] | |
| ItemMetadataCleared | 0c13 | ["CollectionId","ItemId"] | |
| Redeposited | 0c14 | ["CollectionId","Vec<ItemId>"] | |
| AttributeSet | 0c15 | ["CollectionId","Option<ItemId>","BoundedVec<u8, KeyLimit>","BoundedVec<u8, ValueLimit>","AttributeNamespace<AccountId>"] | |
| AttributeCleared | 0c16 | ["CollectionId","Option<ItemId>","BoundedVec<u8, KeyLimit>","AttributeNamespace<AccountId>"] | |
| ItemAttributesApprovalAdded | 0c17 | ["CollectionId","ItemId","AccountId"] | |
| ItemAttributesApprovalRemoved | 0c18 | ["CollectionId","ItemId","AccountId"] | |
| OwnershipAcceptanceChanged | 0c19 | ["AccountId","Option<CollectionId>"] | |
| CollectionMaxSupplySet | 0c1a | ["CollectionId","u128"] | |
| CollectionMintSettingsUpdated | 0c1b | ["CollectionId"] | |
| NextCollectionIdIncremented | 0c1c | ["Option<CollectionId>"] | |
| ItemPriceSet | 0c1d | ["CollectionId","ItemId","ItemPrice","Option<AccountId>"] | |
| ItemPriceRemoved | 0c1e | ["CollectionId","ItemId"] | |
| ItemBought | 0c1f | ["CollectionId","ItemId","ItemPrice","AccountId","AccountId"] | |
| TipSent | 0c20 | ["CollectionId","ItemId","AccountId","AccountId","DepositBalanceOf"] | |
| SwapCreated | 0c21 | ["CollectionId","ItemId","CollectionId","Option<ItemId>","Option<PriceWithDirection<ItemPrice>>","BlockNumberFor"] | |
| SwapCancelled | 0c22 | ["CollectionId","ItemId","CollectionId","Option<ItemId>","Option<PriceWithDirection<ItemPrice>>","BlockNumberFor"] | |
| SwapClaimed | 0c23 | ["CollectionId","ItemId","AccountId","CollectionId","ItemId","AccountId","Option<PriceWithDirection<ItemPrice>>","BlockNumberFor"] | |
| PreSignedAttributesSet | 0c24 | ["CollectionId","ItemId","AttributeNamespace<AccountId>"] | |
| PalletAttributeSet | 0c25 | ["CollectionId","Option<ItemId>","PalletAttributes<CollectionId>","BoundedVec<u8, ValueLimit>"] |
Name | Type | |
|---|---|---|
| Collection | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U256"],"value":"pallet_nfts:types:CollectionDetails","keys_id":47,"value_id":410}} | |
| BurnedItems | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","U128"],"value":"Bool","keys_id":411,"value_id":8}} | |
| OwnershipAcceptance | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["H160"],"value":"U256","keys_id":0,"value_id":47}} | |
| Account | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["H160","U256","U128"],"value":"NULL","keys_id":412,"value_id":37}} | |
| CollectionAccount | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["H160","U256"],"value":"NULL","keys_id":413,"value_id":37}} | |
| CollectionRoleOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","H160"],"value":"U8","keys_id":414,"value_id":415}} | |
| Item | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","U128"],"value":"pallet_nfts:types:ItemDetails","keys_id":411,"value_id":417}} | |
| CollectionMetadataOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U256"],"value":"pallet_nfts:types:CollectionMetadata","keys_id":47,"value_id":423}} | |
| ItemMetadataOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","U128"],"value":"pallet_nfts:types:ItemMetadata","keys_id":411,"value_id":424}} | |
| Attribute | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat","Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","option<U128>","pallet_nfts:types:AttributeNamespace","Vec<U8>"],"value":"Tuple:Vec<U8>pallet_nfts:types:AttributeDeposit","keys_id":426,"value_id":427}} | |
| ItemPriceOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","U128"],"value":"Tuple:U128option<H160>","keys_id":411,"value_id":429}} | |
| ItemAttributesApprovalsOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","U128"],"value":"Vec<H160>","keys_id":411,"value_id":430}} | |
| NextCollectionId | {"origin":"PlainType","plain_type":"U256","PlainTypeValue":47} | |
| PendingSwapOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","U128"],"value":"pallet_nfts:types:PendingSwap","keys_id":411,"value_id":432}} | |
| CollectionConfigOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U256"],"value":"pallet_nfts:types:CollectionConfig","keys_id":47,"value_id":258}} | |
| ItemConfigOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["U256","U128"],"value":"U64","keys_id":411,"value_id":268}} |
Name | Type | Value | |
|---|---|---|---|
| CollectionDeposit | U128 | 00000000000000000000000000000000 | |
| ItemDeposit | U128 | 00000000000000000000000000000000 | |
| MetadataDepositBase | U128 | 00000000000000000000000000000000 | |
| AttributeDepositBase | U128 | 00000000000000000000000000000000 | |
| DepositPerByte | U128 | 00000000000000000000000000000000 | |
| StringLimit | U32 | 00010000 | |
| KeyLimit | U32 | 40000000 | |
| ValueLimit | U32 | 00010000 | |
| ApprovalsLimit | U32 | 14000000 | |
| ItemAttributesApprovalsLimit | U32 | 1e000000 | |
| MaxTips | U32 | 0a000000 | |
| MaxDeadlineDuration | U32 | 001a4f00 | |
| MaxAttributesPerCall | U32 | 0a000000 | |
| Features | U64 | 0000000000000000 |
Name | Docs |
|---|---|
| NoPermission | The signing account has no permission to do the operation. |
| UnknownCollection | The given item ID is unknown. |
| AlreadyExists | The item ID has already been used for an item. |
| ApprovalExpired | The approval had a deadline that expired, so the approval isn't valid anymore. |
| WrongOwner | The owner turned out to be different to what was expected. |
| BadWitness | The witness data given does not match the current state of the chain. |
| CollectionIdInUse | Collection ID is already taken. |
| ItemsNonTransferable | Items within that collection are non-transferable. |
| NotDelegate | The provided account is not a delegate. |
| WrongDelegate | The delegate turned out to be different to what was expected. |
| Unapproved | No approval exists that would allow the transfer. |
| Unaccepted | The named owner has not signed ownership acceptance of the collection. |
| ItemLocked | The item is locked (non-transferable). |
| LockedItemAttributes | Item's attributes are locked. |
| LockedCollectionAttributes | Collection's attributes are locked. |
| LockedItemMetadata | Item's metadata is locked. |
| LockedCollectionMetadata | Collection's metadata is locked. |
| MaxSupplyReached | All items have been minted. |
| MaxSupplyLocked | The max supply is locked and can't be changed. |
| MaxSupplyTooSmall | The provided max supply is less than the number of items a collection already has. |
| UnknownItem | The given item ID is unknown. |
| UnknownSwap | Swap doesn't exist. |
| MetadataNotFound | The given item has no metadata set. |
| AttributeNotFound | The provided attribute can't be found. |
| NotForSale | Item is not for sale. |
| BidTooLow | The provided bid is too low. |
| ReachedApprovalLimit | The item has reached its approval limit. |
| DeadlineExpired | The deadline has already expired. |
| WrongDuration | The duration provided should be less than or equal to `MaxDeadlineDuration`. |
| MethodDisabled | The method is disabled by system settings. |
| WrongSetting | The provided setting can't be set. |
| InconsistentItemConfig | Item's config already exists and should be equal to the provided one. |
| NoConfig | Config for a collection or an item can't be found. |
| RolesNotCleared | Some roles were not cleared. |
| MintNotStarted | Mint has not started yet. |
| MintEnded | Mint has already ended. |
| AlreadyClaimed | The provided Item was already used for claiming. |
| IncorrectData | The provided data is incorrect. |
| WrongOrigin | The extrinsic was sent by the wrong origin. |
| WrongSignature | The provided signature is incorrect. |
| IncorrectMetadata | The provided metadata might be too long. |
| MaxAttributesLimitReached | Can't set more attributes per one call. |
| WrongNamespace | The provided namespace isn't supported in this call. |
| CollectionNotEmpty | Can't delete non-empty collections. |
| WitnessRequired | The witness data should be provided. |
| MaxSupplyRequired | It is required to specify the collection's maximum supply. |
| InvalidItemId | ItemId must be under the collection's maximum supply. |
| ItemIdNotSerial | When serial minting is enabled items must be consecutive. |
| SerialMintEnabled | The collection must be configured for serial minting. |
| AlreadyBurned | The item as already burned. |