SecretNET.Token Namespace

Snip20TxSimulate..::..RegisterReceive Method (String, String, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'TxOptions>)>)>)

Simulates "RegisterReceive".

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

Syntax


public Task<SimulateResponse> RegisterReceive(
	string contractAddress,
	string receiverCodeHash,
	Nullable<string> padding,
	Nullable<string> codeHash,
	Nullable<TxOptions> txOptions
)
Public Function RegisterReceive ( _
	contractAddress As String, _
	receiverCodeHash As String, _
	padding As Nullable(Of String), _
	codeHash As Nullable(Of String), _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SimulateResponse)
public:
Task<SimulateResponse^>^ RegisterReceive(
	String^ contractAddress, 
	String^ receiverCodeHash, 
	Nullable<String^> padding, 
	Nullable<String^> codeHash, 
	Nullable<TxOptions^> txOptions
)

Parameters

contractAddress
Type: String
The contract address.
receiverCodeHash
Type: String
A 32-byte hex encoded string, with the code hash of the receiver contract.
padding
Type: Nullable<(Of <(<'String>)>)>
Ignored string used to maintain constant-length messages.
codeHash
Type: Nullable<(Of <(<'String>)>)>
The code hash.
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.

Return Value

SimulateResponse.