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

SolanaListingData

Model getters

Method name Return type Description Notes
getAmount() string Amount of NFTs to sold in this listing.
Example: 1
 
getBuyer() string Address of the buyer, if exists.
Example: 9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5
[optional]
getListingId() string ID of the listing
Example: 9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5
 
getNft() \Tatum\Model\SolanaListingDataNft
Example: null
 
getPrice() string Price of the NFT asset in native currency or ERC20 token based on the presence of erc20Address field.
Example: 1.234
 
getSeller() string Address of the seller.
Example: 9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5
 
getState() string State of the listing. 0 - available, 1 - sold, 2 - cancelled
Example: 1
 
getCreatedAt() float Timestamp when this listing was created
Example: 1669751911
 
getPurchasedAt() float Timestamp when this listing was purchased
Example: 1669751911
[optional]
getCancelledAt() float Timestamp when this listing was cancelled
Example: 1669751911
[optional]