Etherscan allows you to explore and search the Ethereum blockchain for transactions, addresses, tokens, prices and other activities taking place on Ethereum
Questions tagged [etherscan]
183 questions
0
votes
1 answer
Etherscan/Ftmscan input formatting -- address[][]
I'm trying to interact with a contract on the contract tab of Ftmscan. The function accepts an address[][] type as input, and I'm having trouble formatting this type of input. It keeps complaining about array/string formatting and I'm not sure what…

bbuck
- 129
- 10
0
votes
0 answers
How to Decode Transaction Input Data using Etherscan API in Python
I am trying to decode the Transaction Input Data using Etherscan API in Python, I tried different answers on this, but still can't do it. Maybe someone can Help me figure it out, my Code so far:
transactions_url =…

Ben
- 1
- 3
0
votes
1 answer
Etherscan API : How can I download all transactions by block id?
I am exploring etherscan api. I would like a list of all transactions by block or date. But the api almost always requires address or topic to fetch the transaction. Is there a way to get all txs or all txs by block ?

Satish Verma
- 73
- 5
0
votes
1 answer
Verify contract with bytes constructor argument
I am trying to verify my contracts via etherscan and hardhat. Everything seems fine with contracts without constructor arguments. I do it with
npx hardhat verify ${address} --network goerli
The problem is with one of my contracts that has bytes…

Josif Hamed
- 65
- 1
- 6
0
votes
1 answer
Blockchain name using ethers js
Is there a way to check name of current blockchain using ethers js
For example
const provider = new ethers.providers.JsonRpcProvider(rpcUrl);
const chainInfo = await providers.getNetwork()
gives chain Id and network name but not the blockchain…

Mueed
- 31
- 5
0
votes
0 answers
Nethereum sending ether fail
Introduction
I'm developing a .NET 6 environment that has an API for transferring ether from one wallet to another wallet. It uses the Nethereum library for that.
Issue
I'm getting the Transaction Hash of the ether transfer. But when I'm trying to…

Angelo Schuler Piletti
- 162
- 4
- 12
0
votes
0 answers
cannot get abi from etherscan contract
I am trying to compare the balance of address1 which I am printing out normally with the total supply of the tokens in address 2. In order to get the total supply I have to get the ABI of the contract and check the value of the total supply…

Dimitris Konstantinou
- 89
- 1
- 12
0
votes
0 answers
How to investigate [execution reverted] error in internal transactions - Goerli etherscan
Please refer to this 'Add Liquidity' transaction on Uniswap V2:
https://goerli.etherscan.io/tx/0x46419e4c70ddfe7a1510e49c568f332e43dc6a29aeb794a46ac8dd95063caff2#internal
You will notice that one of the internal transaction errored and execution…

Ra Murd
- 11
- 1
0
votes
0 answers
Etherscan APIs to get list of transactions, internal transactions, and states
I have a pipeline in mind that I want to implement with Etherscan.
Etherscan provides all the information I need on the browser but I cannot find the related module/action pair to retrieve the same information through the API.
These are the three…

Antonio Ken Iannillo
- 85
- 11
0
votes
1 answer
How do you differentiate an airdrop transaction from a normal transaction in the etherscan API?
How do you differentiate an airdrop transaction from a normal transaction in the etherscan API?
I want to know how to differentiate an airdrop transaction from a normal transaction using the etherscan API. I read the documentation of the api, I…
0
votes
0 answers
TypeError: Cannot read properties of null (reading 'map')
I am trying to get my Etherscan Verified Contract Scraper that forwards new Verified Contracts to a specific Discord channel working and have run into issues.
Here is the code--
const Discord = require("discord.js");
const fetch =…
0
votes
1 answer
'Unrecognized task verify' while verifying smart contract
verify task not found in hardhat pre-defined tasks in hardhat package.
Error HH303: Unrecognized task verify
HardhatError: HH303: Unrecognized task verify
at main…

Mutahhir Khan
- 27
- 6
0
votes
0 answers
Filter out 0 outbound value transaction from etherscan
I'm working on a small project - A plot of historical tokens amount in ETH address. I'm using Python and etherscan API https://docs.etherscan.io/api-endpoints/accounts
My test subject is a random address -
I got all the transactions of all the…

Ivan Lisi
- 16
- 4
0
votes
1 answer
Python: converting timestamp to date time not working
I am requesting data from the api.etherscan.io website. For this, I require a free API key. I am getting information for the following wallet addresses 0xdafea492d9c6733ae3d56b7ed1adb60692c98bc5, 0xc508dbe4866528db024fb126e0eb97595668c288. Below is…

MathMan 99
- 665
- 1
- 7
- 19
0
votes
0 answers
API occasionally hangs for an amount of time in a narrow range
Trying to connect to the etherscan API to listen for some addresses changing and print the time that the response takes. Doing this in an async loop for 13 addresses.
The code:
url =…

hedgedandlevered
- 2,314
- 2
- 25
- 54