SecretNET.Token Namespace

Snip20TxSimulate..::..GenericSimulate Method

Generic simulates of an ExecuteContract message.

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

Syntax


public Task<SimulateResponse> GenericSimulate(
	MsgExecuteContractBase msg,
	Nullable<TxOptions> txOptions
)
Public Function GenericSimulate ( _
	msg As MsgExecuteContractBase, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SimulateResponse)
public:
Task<SimulateResponse^>^ GenericSimulate(
	MsgExecuteContractBase^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

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

Return Value

SimulateResponse.