Readonly
chainIDReadonly
contractReadonly
envReadonly
imageReadonly
networkCreates a burn
transaction
the address of the user
the nonce of the DataNFT-FT
the quantity to burn
the DataNFT-FT token identifier (default = DATA-NFT-FT
token identifier based on the EnvironmentsEnum)
Creates a claim royalties transaction for the contract
The address of the sender, must be the admin of the contract
The token identifier of the token to claim royalties
The nonce of the token to claim royalties (default: 0 for ESDT)
Creates an initialize contract transaction for the contract
The address of the sender, must be the admin of the contract
The name of the NFT collection
The ticker of the NFT collection
A boolean value to set if the mint tax is required or not
Optional
options: { If requireMintTax
is true, the options
object must contain the taxTokenIdentifier
and taxTokenAmount
Creates a mint
transaction
NOTE: The dataStreamUrl
is being encrypted and the media
and metadata
urls are build and uploaded to IPFS
NOTE: The options.nftStorageToken
is required when not using custom image and traits, when using custom image and traits the traits should be compliant with the Traits structure
For more information, see the README documentation.
the address of the user
the name of the DataNFT-FT. Between 3 and 20 alphanumeric characters, no spaces.
the url of the data marshal. A live HTTPS URL that returns a 200 OK HTTP code.
the url of the data stream to be encrypted. A live HTTPS URL that returns a 200 OK HTTP code.
the url of the data preview. A live HTTPS URL that returns a 200 OK HTTP code.
the royalties to be set for the Data NFT-FT. A number between 0 and 50. This equates to a % value. e.g. 10%
the title of the dataset. Between 10 and 60 alphanumeric characters.
the description of the dataset. Between 10 and 400 alphanumeric characters.
Optional
options: { [optional] below parameters are optional or required based on use case - imageUrl: the URL of the image for the Data NFT - traitsUrl: the URL of the traits for the Data NFT - nftStorageToken: the nft storage token to be used to upload the image and metadata to IPFS - antiSpamTokenIdentifier: the anti spam token identifier to be used for the minting - antiSpamTax: the anti spam tax to be set for the Data NFT-FT with decimals. Needs to be greater than 0 and should be obtained in real time via viewMinterRequirements prior to calling mint. - extraAssets [optional] extra URIs to attached to the NFT. Can be media files, documents, etc. These URIs are public - imgGenBg: [optional] the custom series bg to influence the image generation service - imgGenSet: [optional] the custom series layer set to influence the image generation service
Optional
antiOptional
antiOptional
extraOptional
imageOptional
imgOptional
imgOptional
nftOptional
traitsCreates a remove whitelist transaction for the contract
The address of the sender, must be the admin of the contract
The addresses to remove from the whitelist
The extra gas to add to the transaction
Creates a set mint tax transaction for the contract
The address of the sender, must be the admin of the contract
A boolean value to set if the mint tax is required or not
The address of the sender, must be the admin of the contract
The minimum royalties to set for minting
The maximum royalties to set for minting
Remarks: The royalties are set in percentage (e.g. 100% = 10000)
The address of the sender, must be the admin or owner of the contract
The nonce of the token to unfreeze for unfreezeAddress
The address to unfreeze
Creates a updateAttributes transaction for the contract
The address of the sender, must be the admin of the contract
The token identifier of the data nft to update attributes
The nonce of the token to update attributes
The new attributes to update
The quantity of the token to update attributes (default: 1)
Retrieves the smart contract configuration
Retrieves the minter smart contract requirements for the given user
the address of the user
the tax token to be used for the minting (default = ITHEUM
token identifier based on the EnvironmentsEnum)
Creates a whitelist transaction for the contract
The address of the sender, must be the admin of the contract
The addresses to whitelist
The extra gas to add to the transaction
The address of the sender, must be the admin or owner of the contract
The nonce of the token to wipe for wipeAddress
The address to wipe from Important: This will wipe all NFTs from the address Note: The nonce must be freezed before wiping
Creates a new instance of the
NftMinter
class, which is used to interact with the factory generated smart contract.