SecretNET.Token Namespace

Snip20Tx..::..Mint Method (MsgMint, Nullable<(Of <(<'TxOptions>)>)>)

This function MUST be allowed only for accounts on the minters list. If the Cosmos message sender is an allowed minter, this will create amount new tokens and add them to the balance of recipient.

Namespace:  SecretNET.Token
Assembly:  SecretNET.Token (in SecretNET.Token.dll)

Syntax


public Task<SingleSecretTx<MintResponse>> Mint(
	MsgMint msg,
	Nullable<TxOptions> txOptions
)
Public Function Mint ( _
	msg As MsgMint, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of MintResponse))
public:
Task<SingleSecretTx<MintResponse^>^>^ Mint(
	MsgMint^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

msg
Type: SecretNET.Token..::..MsgMint
The MSG.
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.

Return Value

SecretTx<MintResponse>.