SecretNET.Token Namespace

SendRequest Constructor

Initializes a new instance of the SendRequest class.

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

Syntax


public SendRequest(
	string recipient,
	string amount,
	Nullable<string> msg,
	Nullable<string> recipientCodeHash,
	Nullable<string> padding
)
Public Sub New ( _
	recipient As String, _
	amount As String, _
	msg As Nullable(Of String), _
	recipientCodeHash As Nullable(Of String), _
	padding As Nullable(Of String) _
)
public:
SendRequest(
	String^ recipient, 
	String^ amount, 
	Nullable<String^> msg, 
	Nullable<String^> recipientCodeHash, 
	Nullable<String^> padding
)

Parameters

recipient
Type: String
Accounts SHOULD be a valid bech32 address, but contracts may use a different naming scheme as well.
amount
Type: String
The amount of tokens to send (Uint128).
msg
Type: Nullable<(Of <(<'String>)>)>
Base64 encoded message, which the recipient will receive.
recipientCodeHash
Type: Nullable<(Of <(<'String>)>)>
The recipient code hash.
padding
Type: Nullable<(Of <(<'String>)>)>
Ignored string used to maintain constant-length messages.