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

CreateTronTrc10Blockchain

Model getters

Method name Return type Description Notes
getFromPrivateKey() string Private key of the address, from which the TRX will be sent.
Example: 842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701
 
getRecipient() string Recipient address of created TRC 10 tokens.
Example: TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh
 
getName() string Name of the token.
Example: My token
 
getAbbreviation() string Abbreviation of the token.
Example: SYM
 
getDescription() string Description of the token.
Example: My short description
 
getUrl() string URL of the token.
Example: https://mytoken.com
 
getTotalSupply() float Total supply of the tokens.
Example: 100000
 
getDecimals() float Number of decimal places of the token.
Example: 10