Snip721Tx..::..CreateViewingKey Method
CreateViewingKey is used to generate a random viewing key to be used to authenticate account-specific queries.
The entropy field is a client-supplied string used as part of the entropy supplied to the rng that creates the viewing key.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SingleSecretTx<CreateViewingKeyResponse>> CreateViewingKey( MsgCreateViewingKey msg, Nullable<TxOptions> txOptions )
Public Function CreateViewingKey ( _ msg As MsgCreateViewingKey, _ txOptions As Nullable(Of TxOptions) _ ) As Task(Of SingleSecretTx(Of CreateViewingKeyResponse))
public: Task<SingleSecretTx<CreateViewingKeyResponse^>^>^ CreateViewingKey( MsgCreateViewingKey^ msg, Nullable<TxOptions^> txOptions )
Parameters
- msg
- Type: SecretNET.NFT..::..MsgCreateViewingKey
The MSG.
- txOptions
- Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.