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

CreateTronTrc20Blockchain

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 TRC20 tokens.
Example: TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh
 
getName() string Name of the token.
Example: My token
 
getSymbol() string Symbol of the token.
Example: SYM
 
getTotalSupply() float Total supply of the tokens.
Example: 100000
 
getDecimals() float Number of decimal places of the token.
Example: 10