Dear support,
I have watched the content of the Moralis YT channel and I found a video that seems interesting:
I can replicate the procedure displayed on the video, however, for this particular example (CryptoPunks), the contract has an event called âpunksBoughtâ which contains the value or price of the punk, and itâs pretty easy to track.
event PunkBought(uint indexed punkIndex, uint value, address indexed fromAddress, address indexed toAddress);
I have checked many other NFT projects and the price info is not contained within the event, but in another place in the contract code. Example:
Bored Ape Yacht Club
https://etherscan.io/address/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d#code
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
As you can see, no info about the price or value is provided at the events.
Question:
How can I track the price of the NFTs projects with Moralis when the price is not contained at the events?
Thanks!