Snip20Tx..::..RegisterReceive Method (MsgRegisterReceive, Nullable<(Of <(<'TxOptions>)>)>)
This message is used to tell the SNIP-20 contract to call the Receive function of the Cosmos message sender after a successful Send.
In Secret Network this is used to pair a code hash with the contract address that must be called.
This means that the SNIP-20 MUST store the sent code_hash and use it when calling the Receive function.
Namespace:
SecretNET.TokenAssembly: SecretNET.Token (in SecretNET.Token.dll)
Syntax
public Task<SingleSecretTx<RegisterReceiveResponse>> RegisterReceive( MsgRegisterReceive msg, Nullable<TxOptions> txOptions )
Public Function RegisterReceive ( _ msg As MsgRegisterReceive, _ txOptions As Nullable(Of TxOptions) _ ) As Task(Of SingleSecretTx(Of RegisterReceiveResponse))
public: Task<SingleSecretTx<RegisterReceiveResponse^>^>^ RegisterReceive( MsgRegisterReceive^ msg, Nullable<TxOptions^> txOptions )
Parameters
- msg
- Type: SecretNET.Token..::..MsgRegisterReceive
The MSG.
- txOptions
- Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.

