Resources:
register a free account on etherscan
install etherscan-python with: pip install etherscan-python
https://github.com/pcko1/etherscan-python/blob/master/README.md
The github gives info on how to access the data in categories:
You will get these columns from normal txs: ['blockHash', 'blockNumber', 'confirmations', 'contractAddress', 'cumulativeGasUsed', 'from', 'gas', 'gasPrice', 'gasUsed', 'hash', 'input', 'isError', 'nonce', 'timeStamp', 'to', 'transactionIndex', 'txreceipt_status', 'value']
On the github there are example of responses returned.
contacts
transactions
blocks
GETH/Parity Proxy
Tokens
Gas tracker
Stats
Pro (PRO API key needed) for:
Other resources than Etherscan:
from web3 import Web3
w3 = Web3(Web3.HTTPProvider(projectID)) receipt=w3.eth.get_transaction_receipt(trHash)
-- Once you get the receipt, you need to get the DEX smart contract ABI -- -- ABI basically tells you how does which function look like when you see it in logs --