BankTx..::..Send Method (String, Int32, String, TxOptions)

Sends SCRT to the specified to address.

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

Syntax


public Task<SingleSecretTx<MsgSendResponse>> Send(
	string toAddress,
	int amount,
	string denom,
	TxOptions txOptions
)

Parameters

toAddress
Type: String
To address.
amount
Type: Int32
The amount (1000000 uscrt == 1SCRT).
denom
Type: String
The denom, default 'uscrt'
txOptions
Type: SecretNET.Tx..::..TxOptions
The tx options.

Return Value

SingleSecretTx<Cosmos.Bank.V1Beta1.MsgSendResponse>.