NFI
The NFI (Non-Fungible Intelligence) pallet allows for enabling NFI compatibility on new or existing collections. Once enabled, when an NFI-compatible NFT/SFT is minted, our trusted relayer will automatically generate the NFI data, storing the resulting NFIData on-chain.
Note: There may be an additional charge for NFTs minted with NFI enabled. See the MintFee section below. 0.5% of the mint fee is sent to the Vortex for redistribution to network participants.
Pallet Calls
Enable NFI
Currently disabled on TRN mainnet.
Enables NFI compatibility on a collection. Caller must be the collection owner
Namespace
Type
Manual Data Request
Users can manually request NFI data if it does not already exist on a token. This can be used to manually request data for pre-existing tokens in a collection that has had nfi enabled Caller must be either the token owner or the collection owner Note. the mint fee will need to be paid for any manual request
Namespace:
Type:
Submit NFI Data
Submit NFI data to the chain. Caller must be the registered relayer. NFI must be enabled for the collection
Namespace:
Type:
Set Fee Details (Sudo Only)
Set the NFI mint fee which is paid per token by the minter. Setting fee_details to None removes the mint fee
Namespace:
Type:
Set Relayer (Sudo Only)
Set the relayer address. This address is able to submit the NFI data back to the chain. Caller must be sudo
Namespace:
Type:
Set Fee To (Sudo Only)
Set the 'FeeTo' account. Caller must be sudo
Namespace:
Type:
Pallet Storage
Relayer
Stores the permission enabled relayer account
Namespace:
Type:
Mint Fee
Stores the extra mint fee that is charged for NFI enabled tokens
Namespace:
Type:
NFI Data
Stores the NFI Data linked to a token
Namespace:
Type:
NFI Enabled
Whether or not NFI is enabled for a collection
Namespace:
Type:
Fee To
The Fee To address that collects network fees
Namespace:
Type:
Pallet Events
Data Request
Request for new NFI data creation
Namespace:
Type:
Data Set
A new NFI storage item has been set
Namespace:
Type:
Data Removed
NFI storage has been removed for a token
Namespace:
Type:
Fee Details Set
New fee details have been set
Namespace:
Type:
Fee To Set
The network fee receiver address has been updated
Namespace:
Type:
Mint Fee Paid
Additional mint fee has been paid to the receiver address
Namespace:
Type:
NFI Enabled
NFI compatibility enabled for a collection
Namespace:
Type:
Relayer Set
A new relayer has been set
Namespace:
Type:
Pallet Errors
Invalid Mint Fee
The mint fee must be a valid integer above 0
Namespace:
Not Enabled
NFI storage is not enabled for this collection
Namespace:
Not Relayer
The caller is not the relayer and does not have permission to perform this action
Namespace:
Not Collection Owner
The caller is not the collection owner and does not have permission to perform this action
Namespace:
Not Token Owner
The caller is not the token owner and does not have permission to perform this action
Namespace:
No Token
The token does not exist
Namespace:
Pallet Constants
Network Fee Percentage
Percentage of sale price to charge for network fees
Namespace:
Type:
Max Data Length
Maximum length of data stored per token
Namespace:
Type:
Last updated