Snip20TxSimulate..::..Send Method (String, String, String, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'TxOptions>)>)>)
Simulates "Send".
Namespace:
SecretNET.TokenAssembly: SecretNET.Token (in SecretNET.Token.dll)
Syntax
public Task<SimulateResponse> Send( string contractAddress, string recipient, string amount, Nullable<string> message, Nullable<string> padding, Nullable<string> codeHash, Nullable<TxOptions> txOptions )
Parameters
- contractAddress
- Type: String
The contract address.
- 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).
- codeHash
- Type: Nullable<(Of <(<'String>)>)>
CodeHash is (not really) optional and makes a call way faster.
- txOptions
- Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.