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

DeployTrcOffchainPKAddress

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
 
getDecimals() float The number of decimal places that the token has
Example: 6
 
getType() string The type of the token
Example: TRC10
 
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
 
getAddress() string The blockchain address to be assigned to the virtual account as a deposit address
Example: TVAEYCmc15awaDRAjUZ1kvcHwQQaoPw2CW
 
getPrivateKey() string The private key of the blockchain address from which the fee for deploying the smart contract will be deducted
Example: e75d702ce00987633f8009fbb1eabb5b187cb5b50fe9179a8d6cee6bab076b66
 
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]
getUrl() string (TRC-10 tokens only) The URL of the project that the token is created for
Use this parameter only with TRC-10 tokens. Do not use this parameter with TRC-20 tokens.
Example: https://mytoken.com
[optional]
getCustomer() \Tatum\Model\CustomerRegistration
Example: null
[optional]