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

SellAssetOnMarketplaceKMS

Model getters

Method name Return type Description Notes
getChain() string Blockchain to work with.
Example: ETH
 
getContractAddress() string Address of the marketplace smart contract.
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getNftAddress() string Address of the NFT asset to sell smart contract.
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getSeller() string Address of the seller of the NFT asset.
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
 
getErc20Address() string Optional address of the ERC20 token, which will be used as a selling currency of the NFT.
Example: 0x687422eEA2cB73B5d3e242bA5456b782919AFc85
[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 amount only in case of natiev currency cashback.
Example: 1
[optional]
getTokenId() string ID of token, if transaction is for ERC-721 or ERC-1155.
Example: 100000
 
getPrice() string Price of the asset to sell. Marketplace fee will be obtained on top of this price.
Example: 100000
 
getIsErc721() bool True if asset is NFT of type ERC721, false if ERC1155.
Example: true
 
getSignatureId() string The KMS identifier of the private key of the seller’s blockchain address
Example: 26d3883e-4e17-48b3-a0ee-09a3e484ac83
 
getIndex() float If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic.
Example: null
[optional]
getNonce() float The nonce to be set to the transaction; if not present, the last known nonce will be used
Example: 1
[optional]
getFee() \Tatum\Model\DeployErc20Fee
Example: null
[optional]