Skip to main content Link Menu Expand (external link) Document Search Copy Copied

TransferErc20

Model getters

Method name Return type Description Notes
getSenderAccountId() string Sender account ID
Example: 5e68c66581f2ee32bc354087
 
getAddress() string Blockchain address to send ERC20 token to
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getAmount() string Amount to be sent.
Example: 100000
 
getCompliant() bool Compliance check, if withdrawal is not compliant, it will not be processed.
Example: false
[optional]
getGasLimit() string Gas limit for transaction in gas price. If not set, automatic calculation will be used.
Example: 40000
[optional]
getGasPrice() string Gas price in Gwei. If not set, automatic calculation will be used.
Example: 20
[optional]
getPrivateKey() string Private key of sender address. Either mnemonic and index, privateKey or signature Id must be present - depends on the type of account and xpub.
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getNonce() float The nonce to be set to the transaction; if not present, the last known nonce will be used
Example: null
[optional]
getPaymentId() string Identifier of the payment, shown for created Transaction within Tatum sender account.
Example: 1234
[optional]
getSenderNote() string Note visible to owner of withdrawing account
Example: Sender note
[optional]