subscan
Runtime Modules / Nft
Spec Version:
Call Functions
Name
Lookup
Parameters
create_nft_collection31003
issue_nft31013
redeem_nft31023
controller_transfer31034
Events
Name
Lookup
Attributes
NftCollectionCreated3100["IdentityId","Ticker","NFTCollectionId"]
NFTPortfolioUpdated3101["IdentityId","NFTs","Option<PortfolioId>","Option<PortfolioId>","PortfolioUpdateReason"]
Storage Functions
Name
Type
NumberOfNFTs{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Identity"],"key_vec":["[U8; 12]","[U8; 32]"],"value":"U64","keys_id":622,"value_id":10}}
CollectionTicker{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U64","keys_id":42,"value_id":296}}
Collection{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"polymesh_primitives:nft:NFTCollection","keys_id":296,"value_id":733}}
CollectionKeys{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"Vec<polymesh_primitives:asset_metadata:AssetMetadataKey>","keys_id":296,"value_id":734}}
MetadataValue{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["Tuple:U64U64","polymesh_primitives:asset_metadata:AssetMetadataKey"],"value":"Vec<U8>","keys_id":735,"value_id":145}}
NextCollectionId{"origin":"PlainType","plain_type":"U64","PlainTypeValue":296}
NextNFTId{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U64"],"value":"U64","keys_id":296,"value_id":239}}
NFTsInCollection{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["[U8; 12]"],"value":"U64","keys_id":42,"value_id":10}}
NFTOwner{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat","Blake2_128Concat"],"key_vec":["[U8; 12]","U64"],"value":"polymesh_primitives:identity_id:PortfolioId","keys_id":668,"value_id":56}}
StorageVersion{"origin":"PlainType","plain_type":"U8","PlainTypeValue":737}
Constants
Name
Type
Value
MaxNumberOfCollectionKeysU8ff
MaxNumberOfNFTsCountU320a000000
Error Types
Name
Docs
BalanceOverflowAn overflow while calculating the balance.
BalanceUnderflowAn underflow while calculating the balance.
CollectionAlredyRegisteredThe ticker is already associated to an NFT collection.
CollectionNotFoundThe NFT collection does not exist.
DuplicateMetadataKeyA duplicate metadata key has been passed as parameter.
DuplicatedNFTIdDuplicate ids are not allowed.
InvalidAssetTypeThe asset must be of type non-fungible.
InvalidMetadataAttributeEither the number of keys or the key identifier does not match the keys defined for the collection.
InvalidNFTTransferCollectionNotFoundFailed to transfer an NFT - NFT collection not found.
InvalidNFTTransferSamePortfolioFailed to transfer an NFT - attempt to move to the same portfolio.
InvalidNFTTransferNFTNotOwnedFailed to transfer an NFT - NFT not found in portfolio.
InvalidNFTTransferCountOverflowFailed to transfer an NFT - identity count would overflow.
InvalidNFTTransferComplianceFailureFailed to transfer an NFT - compliance failed.
InvalidNFTTransferFrozenAssetFailed to transfer an NFT - asset is frozen.
InvalidNFTTransferInsufficientCountFailed to transfer an NFT - the number of nfts in the identity is insufficient.
MaxNumberOfKeysExceededThe maximum number of metadata keys was exceeded.
MaxNumberOfNFTsPerLegExceededThe maximum number of nfts being transferred in one leg was exceeded.
NFTNotFoundThe NFT does not exist.
UnregisteredMetadataKeyAt least one of the metadata keys has not been registered.
ZeroCountIt is not possible to transferr zero nft.
SupplyOverflowAn overflow while calculating the updated supply.
SupplyUnderflowAn underflow while calculating the updated supply.
InvalidNFTTransferNFTIsLockedFailed to transfer an NFT - nft is locked.