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

UpdateFeeTron

Model getters

Method name Return type Description Notes
getChain() string Blockchain to work with.
Example: TRON
 
getContractAddress() string Address of the marketplace smart contract.
Example: TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh
 
getMarketplaceFee() float The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100; to set 10%, set this parameter to 1000; to set 50%, set this parameter to 5000, and so on.
Example: 150
 
getFromPrivateKey() string Private key of sender address. Private key, or signature Id must be present.
Example: 05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2
 
getFeeLimit() float Fee in TRX to be paid.
Example: 0.01