The NFT id.
The collection id to which the NFT will belong.
Keyring pair to sign the data.
Callback function to enable subscription, if not given, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
Transactions to execute in the batch call
Submittable extrinsic unsigned
Transactions to execute in the batch call
Hex of the submittable extrinsic unsigned
Transactions to execute in the batch call
Submittable extrinsic unsigned
Transactions to execute in the batch call
Hex of the submittable extrinsic unsigned
The collection id to burn.
Keyring pair to sign the data. Must be the owner of the collection.
Callback function to enable subscription, if not given, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
The id of the NFT that need to be burned from the storage.
Keyring pair to sign the data.
Callback function to enable subscription, if not given, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
Chain endpoint
Public address of the account to check balance for transfer
Token amount to transfer
Public address of the account to check balance to mint an NFT.
Offchain data length.
Collection limit.
Signed transaction object
Offchain data length.
Pallet module of the transaction
Subsequent extrinsic method of the transaction
Boolean, true if the pallet module and the subsequent extrinsic method exist, throw an Error otherwise
The collection id to close.
Keyring pair to sign the data. Must be the owner of the collection.
Callback function to enable subscription, if not given, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
Current values to be compared.
Attribute of the element to compare. (ex: nft.royalty, marketplace.commission_fee)
New value to be compared to current data.
The section required to get the chain constant (eg. "balances")
The constantName depending on the section (eg. "existentialDeposit")
The constant value
Any offchain data to add to the collection.
Number max of NFTs in collection.
Keyring pair to sign the data.
Callback function to enable subscription, if not given, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
Any offchain data to add to the NFT. (ex: an ipfs id, a text)
Royalty can be set from 0% to 100%. Default: 0
The collection id to which the NFT will belong. Default: null
Boolean that lock transfert after creation. Default: false
Keyring pair to sign the data.
Callback function to enable subscription. If not specified, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
Pallet module of the transaction
Subsequent extrinsic method of the transaction
Arguments of the transaction
Hex value of the transaction
Address to which the NFT will be delegated. If not specified NFT will be undelegated.
Keyring pair to sign the data.
Callback function to enable subscription, if not given, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
BN input.
Formatted balance with SI and unit notation.
Number in range from 0 to 100 with max 4 decimals.
The royalty in permill format.
An object with the seed and the public address
String, the api endpoint connected with.
Public address of the account to get balances
The balances of the account
Capsule mint fee
The collection id.
A JSON object with data of a single NFT collection.
Number.
Number.
Public address of the account to get free balance for
The free balance of the account
A keyring pair
Marketplace mint fee
Number.
Number.
The NFT id.
A JSON object with the NFT data. ex:{owner, creator, offchainData, (...)}
NFT mint fee.
Number.
Promise containing the actual Api instance, a wrapper around the RPC and interfaces of the chain.
Hex of the transaction
Public address of the sender
Total estimated fee which is the sum of the chain gas fee and the treasury fee
Transaction hex
Public address of the sender
Transaction fee estimation
Transaction hex
Fee estimation
Boolean, true if the underlying provider is connected, false otherwise
Generic result passed as a parameter in a transaction callback
Object containing a boolean success field indicating if transaction is successful and a indexInterrupted field to indicate where the transaction stopped in case of a batch
Boolean, true if the address is valid, false otherwise
Message to check.
Address to verify the signer.
Boolean, true if the address signed the message, false otherwise
The collection id to close.
Number max of NFTs in collection.
Keyring pair to sign the data.
Callback function to enable subscription, if not given, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
The section required to make the chain query (eg. "system")
The call depending on the section (eg. "account")
Array of args for the call
Callback function to enable subscription, if not given, no subscription will be made
Result of the query storage call
Pallet module of the transaction
Subsequent extrinsic method of the transaction
Arguments of the transaction
Keyring pair to sign the data, if not given, an unsigned transaction to be signed will be returned
Callback function to enable subscription, if not given, no subscription will be made
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed
The id of the NFT that need to be burned from the storage.
Number in range from 0 to 100 with max 4 decimals.
Keyring pair to sign the data.
Callback function to enable subscription, if not given, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
Keyring pair to sign the data
Tx hex of the unsigned transaction to be signed
Nonce to be used in the transaction, default to next available
Number of blocks during which transaction can be submitted, default to immortal
Hex value of the signed transaction
Transaction hex of the signed transaction to be submitted
Callback function to enable subscription, if not given, no subscription will be made
Hash of the transaction
Public address of the account to transfer amount to
Token amount to transfer
Keyring pair to sign the data
Callback function to enable subscription, if not given, no subscription will be made
Hash of the transaction or the hex value of the signable tx
Public address of the account to transfer amount to
Ensure that the transfer does not kill the account, it retains the Existential Deposit
Keyring pair to sign the data
Callback function to enable subscription, if not given, no subscription will be made
Hash of the transaction or the hex value of the signable tx
Public address of the account to transfer amount to
Token amount to transfer
Keyring pair to sign the data
Callback function to enable subscription, if not given, no subscription will be made
Hash of the transaction or the hex value of the signable tx
The id of the NFT that need to be burned from the storage.
Address that will received the ownership of the NFT.
Keyring pair to sign the data.
Callback function to enable subscription, if not given, no subscription will be made.
Hash of the transaction, or an unsigned transaction to be signed if no keyring pair is passed.
Number input
BN output
Generated using TypeDoc
addNftToCollection
Add an NFT to a collection.