I am trying to understand Etherscan python package, and I want to get the transaction that happened between 2 timestamps. I have found this example that is getting transactions by address.
eth = etherscan.Etherscan(api_key='API-KEY') target_address = '0xa57Bd00134B2850B2a1c55860c9e9ea100fDd6CF' eth.get_normal_txs_by_address(address=target_address, startblock=start_block, endblock=end_block, sort="asc")
- What is the address? Is it the ethereum contract ID?
- One contract can have several transaction hashes. A Transaction hash represent one transaction?
- How to get ethereum transactions that happened between the two timestamps?
- Is it possible to list ethereum contracts that happened between two timestamps?
- `start_block` is the same things as a timestamp? If not, what is `start_block`?
Solution: Like u/atrizzle said, I just need to get the blocks where transactions happened. I my case, ` get_block` from Etherscan helped me.
[link] [comments]

You can get bonuses upto $100 FREE BONUS when you:
💰 Install these recommended apps:
💲 SocialGood - 100% Crypto Back on Everyday Shopping
💲 xPortal - The DeFi For The Next Billion
💲 CryptoTab Browser - Lightweight, fast, and ready to mine!
💰 Register on these recommended exchanges:
🟡 Binance🟡 Bitfinex🟡 Bitmart🟡 Bittrex🟡 Bitget
🟡 CoinEx🟡 Crypto.com🟡 Gate.io🟡 Huobi🟡 Kucoin.
Comments