if you used a custom contract to sell it through?
what do you mean sorry?
like the amount of tokens sold by someone if they are using a custom contract instead of the uniswap/pcs
a sell is just a transfer
yeah what if you want to get it for past transactions?
Erc20 transfer emits a « transfer » log. So whatever other contracts do, if it involves an Erc20 transfer, an event log will be triggered, and can be used by any off-chain party (like etherscan for example). These logs are stored on-chain and embedded in the receipt. If you want to retrieve past logs, you have to re-read all the transactions with these logs. Etherscan can help you to do that, or you would have to read the whole blockchain history if you wanted to be sure not to miss one
Обсуждают сегодня