SecretNET.Token Namespace

Snip20TxSimulate..::..CreateViewingKey Method (MsgCreateViewingKey, Nullable<(Of <(<'TxOptions>)>)>)

Simulates "CreateViewingKey".

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

Syntax


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

Parameters

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

Return Value

SimulateResponse.