BuyAssetOnMarketplaceTron
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 | |
getErc20Address() | string | Optional address of the TRC20 token, which will be used as a selling currency of the NFT. Example: TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh | [optional] |
getBuyer() | string | In case of the ERC20 listing, it’s possible to buy on behalf of someone else. This value is the address of the buyer, which should approve spending of the ERC20 tokens for the Marketplace contract. This could be used for a buying from the custodial wallet address. Example: 0x587422eEA2cB73B5d3e242bA5456b782919AFc85 | [optional] |
getListingId() | string | ID of the listing. It’s up to the developer to generate unique ID Example: null | |
getAmount() | string | Amount of the assets to be sent. For ERC-721 tokens, enter 1. Example: 1 | [optional] |
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 |