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

DeployErc20OffchainPKXpub

Model getters

Method name Return type Description Notes
getSymbol() string The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain
Example: MY_TOKEN
 
getSupply() string The supply of the token
Example: 10000000
 
getDescription() string The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain
Example: My Public Token
 
getXpub() string The extended public key from which a deposit address for the virtual account will be generated
Example: xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid
 
getDerivationIndex() int The derivation index to use together with the extended public key to generate the deposit address
Example: 0
 
getPrivateKey() string The private key of the blockchain address from which the fee for deploying the smart contract will be deducted
Example: 0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2
 
getBasePair() string The base pair for the virtual currency that represents the token; used to calculate the value of a transaction
Example: EUR
 
getBaseRate() float The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair*baseRate
Example: 1
[optional] [default to 1]
getNonce() float The nonce to be set to the transaction; if not present, the last known nonce will be used
Example: null
[optional]
getCustomer() \Tatum\Model\CustomerRegistration
Example: null
[optional]