SecretNET.NFT Namespace

Snip721Tx..::..MintNft Method

MintNft mints a single token. Only an authorized minting address my execute MintNft. 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.NFT
Assembly:  SecretNET.NFT (in SecretNET.NFT.dll)

Syntax


public Task<SingleSecretTx<MintNftResponse>> MintNft(
	MsgMintNft msg,
	Nullable<TxOptions> txOptions
)
Public Function MintNft ( _
	msg As MsgMintNft, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of MintNftResponse))
public:
Task<SingleSecretTx<MintNftResponse^>^>^ MintNft(
	MsgMintNft^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

msg
Type: SecretNET.NFT..::..MsgMintNft
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>

Return Value