SecretNET.Token Namespace

Snip20Tx..::..Instantiate Method

Instantiates / configures the Token contract (https://github.com/SecretFoundation/SNIPs/blob/master/SNIP-20.md at 2022-07-11).

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

Syntax


public Task<SingleSecretTx<MsgInstantiateContractResponse>> Instantiate(
	MsgInstantiate msg,
	Nullable<TxOptions> txOptions
)
Public Function Instantiate ( _
	msg As MsgInstantiate, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of MsgInstantiateContractResponse))
public:
Task<SingleSecretTx<MsgInstantiateContractResponse^>^>^ Instantiate(
	MsgInstantiate^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

msg
Type: SecretNET.Token..::..MsgInstantiate
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>

Return Value