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

MintNftTron

Model getters

Method name Return type Description Notes
getChain() string The blockchain to work with
Example: TRON
 
getTo() string The blockchain address to send the NFT to
Example: TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ
 
getContractAddress() string The blockchain address of the smart contract to build the NFT on
Example: TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ
 
getTokenId() string The ID of the NFT
Example: 123
 
getUrl() string The URL pointing to the NFT metadata; for more information, see EIP-721
Example: https://my_token_data.com
 
getFeeLimit() float The maximum amount to be paid as the transaction fee (in TRX)
Example: 600
 
getFromPrivateKey() string The private key of the blockchain address that will pay the fee for the transaction
Example: 842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701
 
getAuthorAddresses() string[] The blockchain addresses where the royalties will be sent every time the minted NFT is transferred; the royalties are paid in the native blockchain currency, TRX
Example: null
[optional]
getCashbackValues() string[] The amounts of the royalties that will be paid to the authors of the minted NFT every time the NFT is transferred; the amount is defined as a fixed amount of the native blockchain currency
Example: null
[optional]