Snip721Tx..::..MintNftClones Method
MintNftClones mints copies of an NFT, giving each one a MintRunInfo that indicates its serial number and the number of identical NFTs minted with it.
If the optional mint_run_id is provided, the contract will also indicate which mint run these tokens were minted in, where the first use of the mint_run_id will be mint run number 1,
the second time MintNftClones is called with that mint_run_id will be mint run number 2, etc...
If no mint_run_id is provided, the MintRunInfo will not include a mint_run.
SNIP-722 adds the ability to optionally mint non-transferable tokens, which are NFTs that can never have a different owner than the address it was minted to.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SingleSecretTx<MintNftClonesResponse>> MintNftClones( MsgMintNftClones msg, Nullable<TxOptions> txOptions )
Public Function MintNftClones ( _ msg As MsgMintNftClones, _ txOptions As Nullable(Of TxOptions) _ ) As Task(Of SingleSecretTx(Of MintNftClonesResponse))
public: Task<SingleSecretTx<MintNftClonesResponse^>^>^ MintNftClones( MsgMintNftClones^ msg, Nullable<TxOptions^> txOptions )
Parameters
- msg
- Type: SecretNET.NFT..::..MsgMintNftClones
The MSG.
- txOptions
- Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.