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

ChainTransferEthErc20

Model getters

Method name Return type Description Notes
getChain() string The blockchain to work with
Example: ETH
 
getTo() string The blockchain address to send the fungible tokens to
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getContractAddress() string The blockchain address of the fungible token smart contract
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getAmount() string The amount of the fungible tokens to be sent
Example: 100000
 
getDigits() float The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract
Example: 18
 
getFromPrivateKey() string The private key of the blockchain address from which the fee will be deducted
Example: 0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2
 
getNonce() float The nonce to be set to the transaction; if not present, the last known nonce will be used
Example: null
[optional]
getFee() \Tatum\Model\CustomFee
Example: null
[optional]