How to get all transaction information from OpenSea trade?

Hello!

I’m trying to track NFT sales. Unfortunately, I’m failing to get all transaction information from the blockchain. I am using OpenSea’s contract to fetch events & logs.

I got the logs from topic: OrdersMatched and decoded the data. However, I cannot get the other two topics (Approved and Transfer) which store the valuable NFT Contract Address and Token ID that was sold.

Here’s an example of sale:
https://etherscan.io/tx/0xcfade24d83f0104b6fe83f265fb4d49bd6d40e815065d336ae289565f23b85cf#eventlog

I think it’s because those topics are in the ERC721s’ contract (not OpenSea). I’ve tried everything but I’m stuck.

These methods do not work:
web3.eth.get_logs()
web3.subscribe(“logs”…)
getPastEvents(“allEvents”…)

I’ve tried both Python and NodeJS libraries.

Maybe I’m thinking about this the wrong way? Any help is greatly appreciated!

Thank you

1 Like

hi @dd22 that’s right, you’ll need to watch this contract too https://etherscan.io/address/0x4addca4c07a5e9a6b4973094d03ad5aae7735e5b#events

1 Like