SecretNET.Token Namespace

Snip20Tx..::..Transfer Method (MsgTransfer, Nullable<(Of <(<'TxOptions>)>)>)

Moves tokens from the account that appears in the Cosmos message sender field to the account in the recipient field. Variation from CW-20: It is NOT required to validate that the recipient is an address and not a contract. This command will work when trying to send funds to contract accounts as well.

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

Syntax


public Task<SingleSecretTx<TransferResponse>> Transfer(
	MsgTransfer msg,
	Nullable<TxOptions> txOptions
)
Public Function Transfer ( _
	msg As MsgTransfer, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of TransferResponse))
public:
Task<SingleSecretTx<TransferResponse^>^>^ Transfer(
	MsgTransfer^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

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

Return Value