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

SellAssetOnMarketplaceSolana

Model getters

Method name Return type Description Notes
getChain() string Blockchain to work with.
Example: SOL
 
getContractAddress() string Blockchain address of the smart contract
Example: FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU
 
getNftAddress() string Blockchain address of the asset to sell
Example: FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU
 
getFrom() mixed Blockchain address of the seller
Example: FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU
 
getPrice() string Price of the asset to sell. Marketplace fee will be obtained on top of this price.
Example: 100000
 
getAuthorityPrivateKey() string The private key used for signing transactions as authority; required if requiresSignOff is set to “true” for the marketplace
Example: zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv
[optional]
getFromPrivateKey() string The private key of the seller
Example: zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv