SecretNET.Token Namespace

Snip20Tx..::..Send Method (MsgSend, Nullable<(Of <(<'TxOptions>)>)>)

Moves amount from the Cosmos message sender account to the recipient account. The receiver account MAY be a contract that has registered itself using a RegisterReceive message. If such a registration has been performed, a message MUST be sent to the contract's address as a callback, after completing the transfer. The format of this message is described under Receiver interface. If the callback fails due to an error in the Receiver contract, the entire transaction will be reverted.

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

Syntax


public Task<SingleSecretTx<SendResponse>> Send(
	MsgSend msg,
	Nullable<TxOptions> txOptions
)
Public Function Send ( _
	msg As MsgSend, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of SendResponse))
public:
Task<SingleSecretTx<SendResponse^>^>^ Send(
	MsgSend^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

msg
Type: SecretNET.Token..::..MsgSend
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>

Return Value