2

After give a look here and check this log and this transaction I tempted to conclude I'm just need to check the data of transaction. I conclude all contract deployment data I found starts with "0x60806040527f76". Actually.... this is the start of the contract code...most like "pragma solidity bla bla bla" so this must be the Solidity ...


1

@user216: Thanks for your comment. Indeed, an easy way is to install geth and run a light node with geth --syncmode "light" Then install web3 via pip. Afterwards the following Python code works :) w3 = web3.Web3(web3.Web3.IPCProvider('/home/user/.ethereum/geth.ipc')) block = w3.eth.get_block(12704257) # example for a recent block for tx_hash in ...


1

Okay, I had a quick look at a dumb (scraping-based) answer to this, but gave up. So this answer is more of an idea of what not to do, or what to take further. Given you're already using Python, you could have gone one step further and scraped that page with BeautifulSoup. (pip install beautifulsoup4) However, Etherscan is protected by Cloudflare, so you can'...


1

The result from the Etherscan GET request's response must be divided by 1018. As answered in this post regarding ERC20 tokens decimal places, "Most ERC20 tokens should follow the pattern of using 18 decimal places for their token." This applies to Ether itself. Therefore, the result response of 86354095000000000 is equal to 0.086354095 Ether. (...


Only top voted, non community-wiki answers of a minimum length are eligible