I'm using etherscan, polygonscan API to get all the transactions from a contract. My goal is to calculate how much money was transacted between sellers and buyers for a certain collection.
At the moment, when I use the API, I only get the value parameter, but there are some transactions where the value is 0 there were tokens sent from the buyer's account to the seller account, open-sea fee account, and project fee account. (see the picture below).
Using the API, how can I get those values?
(I believe that when the value is 0, it means that the tokens used to pay the transaction is from another chain, in this case, WETH. Is this conclusion right?)
Thanks