Snip20TxSimulate..::..TransferFrom Method (String, String, String, String, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'TxOptions>)>)>)
Transfers from.
Namespace:
SecretNET.TokenAssembly: SecretNET.Token (in SecretNET.Token.dll)
Syntax
public Task<SimulateResponse> TransferFrom( string contractAddress, string owner, string recipient, string amount, Nullable<string> padding, Nullable<string> codeHash, Nullable<TxOptions> txOptions )
Parameters
- contractAddress
- Type: String
The contract address.
- owner
- Type: String
Account to take tokens from.
- recipient
- Type: String
Account to send tokens to.
- amount
- Type: String
Amount of tokens to transfer (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.