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

BuyAssetOnMarketplaceSolana

Model getters

Method name Return type Description Notes
getChain() string The blockchain to work with
Example: SOL
 
getContractAddress() string The blockchain address of the marketplace smart contract
Example: FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU
 
getListingId() mixed The blockchain address of the listing with the asset that you want to buy
Example: FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU
 
getFrom() mixed The blockchain address of the buyer
Example: FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU
 
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 buyer
Example: zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv