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

DeployKCSErc20OffchainPKAddress

Model getters

Method name Return type Description Notes
getSymbol() string Name of the ERC20 token - stored as a symbol on Blockchain
Example: MT
 
getSupply() string max supply of ERC20 token.
Example: 10000000
 
getDescription() string Description of the ERC20 token
Example: My ERC20 Token
 
getBasePair() string Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.
Example: EUR
 
getBaseRate() float Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair.
Example: 1
[optional] [default to 1]
getCustomer() \Tatum\Model\CustomerRegistration
Example: null
[optional]
getAddress() string Address on Ethereum blockchain, where all initial supply will be stored. Either xpub and derivationIndex, or address must be present, not both.
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getPrivateKey() string Private key of Ethereum account address, from which gas for deployment of ERC20 will be paid. Private key, mnemonic or signature Id must be present.
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]