Questions tagged [etherscan]

Etherscan is a search engine that allows Ethereum blockchain users to look up, confirm and validate transactions that have taken place on the blockchain.

Filter by
Sorted by
Tagged with
37
votes
3answers
30k views

Normal transactions VS. Internal transactions in etherscan

On etherscan: -->> accounts >> contract accounts >> selecting one contract, There are two types of transactions mentioned under No Of Transactions: Normal transactions and ...
14
votes
1answer
7k views

Are pending transactions “dropped” and “reinstated”?

I tried a simple transfer of ether between two accounts using geth, but set quite a low gas price (2 gwei). After two hours the transaction was still showing in geth under eth.pendingTransactions - I ...
11
votes
3answers
3k views

How do you verify a contract on etherscan that is deployed by another contract?

How do you properly verify a contract on etherscan that is deployed by another contact? I deployed a contract that deploys other contracts onto the blockchain. The original contract is verified , ...
8
votes
3answers
9k views

How to verify token after etherscan, and submit icon

Sorry, my English is not good, I verified my token on etherscan, but I do not know how to change the token's icon.
4
votes
3answers
2k views

How does etherscan fetch the number of token holders from a smart contract?

I was wondering How does etherscan fetch the number of token holders from a smart contract?
0
votes
1answer
5k views

How to get Logo instead of ERC20 TOKEN on transfer page?

How to change this: to this: on etherscan token detail page?
3
votes
1answer
2k views

Add user details to smart Contract

What is the best way to store users data on smart contract? Suppose we have n number of users and we want to store each username and his other details, should we have to create a smart contract ...
5
votes
1answer
7k views

Obtain token transfer data from an address

I would like to obtain token transfer data from an address via Rest API For example, take this address: https://etherscan.io/address/0xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98#tokentxns (Etherscan ...
15
votes
2answers
3k views

Etherscan: How can I verify a contract with multiple imports deployed with Truffle?

When I deploy a contract with Truffle that has an import statement, and try to verify it on etherscan, my understanding is that I need to paste in the contents of the imported file. I get an error on ...
9
votes
3answers
6k views

Etherscan API - Get all token balances

Is there a way with the Etherscan API so that you can get all the erc20 token balances for a specific address? As explained here, you can see them with their web UI (the token tracker dropdown). Does ...
8
votes
5answers
10k views

How do I find the exact solidity compiler version used by truffle?

I'm trying to verify a contract I have compiled and deployed onto the network using Etherscan. The contract was compiled using truffle. How do I work out exactly which version of the solidity compiler ...
12
votes
1answer
5k views

How to find solidity code for a contract address

I need to find out the public contract code i.e. solidity code for a contract address. For eample, here it has a tab for contract code but it's in assembly and byte code only, which is not useful. ...
7
votes
3answers
2k views

Having trouble verifying a contract on etherscan.io

I'm trying to verify a contract on etherscan.io. The contract itself has a number of imports and libraries and has been deployed using certain constructor arguments. I've copy/pasted the code from ...
4
votes
3answers
2k views

How do I determine whether the transaction is used for the contract creation?

I want to monitor Ethereum and memorise every contract published on the blockchain (basically the same thing that Etherscan does). How it is possible to do this using NodeJS & web3? How can I ...
3
votes
1answer
943 views

How to query token transfers like etherscan.io?

Look at this. We are able to see tx, from, to, value etc... How is etherscan achieving this? I badly need this kind of functionality in my app. How can I list token transfers for a ERC20 contract? ...
2
votes
2answers
2k views

Is there api way to get Token transfer data of exact token?

What I need I need all information of tab "Token Transfers" in token info at etherscan. Exactly in format at the site. For example I want to get all Token Transfers from here https://etherscan.io/...
0
votes
0answers
70 views

Why is the compiler unable to generate Contract ByteCode and ABI when I try to Verify & Publish my contract?

Another dev no longer connected to our project deployed this contract, and I'm trying to Verify & Publish it on Etherscan now. What am I doing wrong? I do know that the dev who built this used ...
5
votes
4answers
862 views

I can't verify my contract on the Rinkeby etherscan site

I'm getting the following error when verifying on the RINKEBY etherscan site: Error! Unable to verify source code Exception #1 Occured: ERROR|The Contract solidity compilation has exceeded the ...
3
votes
1answer
861 views

Why is my balance not equal to the sum of inbound, minus the sum of outbound and fees?

I expect to be able to calculate the balance of an account in this way: add up the value on all the incoming transactions, and subtract the value on all the outgoing transactions, then subtract all ...
3
votes
1answer
1k views

Can you help me parse this input data from a newProposal transaction from The DAO?

Every Ethereum transaction that represents a function call on a smart contract holds an input field with data that corresponds to the data sent through the interface of the function. For example, this ...
1
vote
1answer
186 views

What does etherscan mean by “Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)”?

I'm inspecting a contract on etherscan, at the following URL: https://etherscan.io/address/0x5cb5f46a655c02889172323760d12d0e5d83cdaf#code At the bottom of the web-page, I see two sections: ...
1
vote
2answers
534 views

Warning: “throw” is deprecated in favour of “revert()”, “require()” and “assert()”. throw;

my question is if "THROW" is deprecated then what i have to put instead throw in the following solidity code ? // This function creates Tokens function createTokens() payable { if(...
8
votes
2answers
4k views

How does Etherscan work?

From what I understand, blockchains are not optimised for searching for past transactions. Does Etherscan download the data into another database for more performant querying? If so, how can it ...
7
votes
2answers
4k views

Best way to see a real-time list of pending transactions that have not yet been mined

I've spent all day trying to figure this out, to no avail. I'm trying to find a way to analyze the ongoing pending transactions at certain times in the day/week, to ascertain ideal times for ...
3
votes
1answer
584 views

Why doesn't bytecode match the opcodes on Etherscan?

I'm just going through the first few opcodes on this contract: https://etherscan.io/address/0xab7c74abc0c4d48d1bdad5dcb26153fc8780f83e#code. Which are (according to the opcodes view): PUSH1 0x60 ...
2
votes
0answers
277 views

How to find constructor values being passed to a contract

I'd like to find out which values were passed in when someone deployed a CrowdSale token. Is there a way to find out. Here is Lunyr Crowdsale contract How would I find out which values they passed ...
0
votes
1answer
2k views

How to detect ETH deposits into an Ether address? [duplicate]

I want to be be able to programmatically detect an ETH deposit in order to process it as a payment in my app. I have been looking into an etherscan.io API and the only way i found to detect incoming ...
3
votes
2answers
2k views

How do I create ABI encoded constructor argument to verify an Ehtereum contract on etherscan.io when i know the arguments: adress1 uint

I have a contract: https://github.com/slavik0329/BetterAuction that i want to verify here: https://etherscan.io/verifyContract?a=0x3e7a000DC9FE17424cBA7E5bB21390A87a8e32d6 the arguments are: ...
2
votes
1answer
1k views

What does “Topics” mean in “Event log”? [duplicate]

When we invoke an event as follows : event MyEvent(uint256 indexed _id, bytes32 _action, bytes32 _player, bytes32 _actionState, address _owner); emit MyEvent(uint256(_public_id), bytes32(_action), ...
2
votes
0answers
211 views

Please create for the contractate ABI encoded constructor argument to verify an Ehtereum contract on etherscan.io? [closed]

Please create for the contractate ABI encoded constructor argument to verify an Ehtereum contract on etherscan.io? contract - https://etherscan.io/address/0x7af7470Aa8e4601f4174402DEd7917Fb046aE3D2
2
votes
1answer
1k views

Etherscan Get ERC20 Count of Address

How do I get the count of an erc20 token e.g. KNC of an address via Etherscan API? Or is there another API that can do that? thx
1
vote
1answer
56 views

Is it possible for the miner of a block to be address 0x0?

Take a look at this transaction: https://etherscan.io/block/5305. The miner is listed as 0x0000000000000000000000000000000000000000. Is this reasonable? Did someone configure their node incorrectly? ...
1
vote
1answer
2k views

How to verify a contract having constructor arguments?

This is a contract that requires an argument to be deployed. The Contract Name is "Asset". The compiler used is "Compiler 0.4.16+commit.d7661dd9.Emscripten.clang" and Optimization was Disabled. To ...
8
votes
3answers
2k views

Can't verify contract on etherscan.io

guys. I have created simple contract, migrated to testnet via truffle. It can be founded here. But I can't verify it. I double check: 1. name of contract 2. version of compiler (ver. 0.4.11 in ...
6
votes
1answer
2k views

Etherscan: Effectively paginate `Event Logs` result

I am using Etherscan API for various Ethereum details. I need to find out the tokens transferred from a token original contract (let's say A) address to a particular address(let's say B). For this ...
4
votes
2answers
528 views

Cannot verify contracts with libraries on Etherscan

Since the last week I have not been able to verify contracts on Etherscan if they use libraries. I was able to do this before. Apparently something has changed in Etherscan, Solidity compiler, or ...
3
votes
1answer
1k views

Problem verifying source code on Etherscan

This is really annoying I have tried putting in the ABI. Keep getting a constructor error. I have tried many combinations, nothing seems to work. Following is the source code I deployed to Testnet ...
2
votes
2answers
852 views

How to calculate Estimated Confirmation Duration of a pending transaction?

How I can calculate Estimated Confirmation Duration or Can someone give me a formula to calculate Estimated Confirmation Duration of a pending transaction like etherscan.io do?
2
votes
1answer
69 views

Confusion regarding total number of ERC-721 Tokens

I have two questions: 1) I want to retrieve the list of all ERC-721 tokens. The main block explorer for Ethereum which is Etherscan shows 2,883 ERC-721 tokens on its website https://etherscan.io/...
2
votes
0answers
536 views

How to verify a deployed contract on etherscan

I would love to get some help with this as I'm wracking my brain with how to get this done. I have gone through this link to verify my contract: https://etherscan.io/verifyContract I am puzzled with ...
2
votes
1answer
112 views

web3.eth.getCode doesn't return the data shown on etherscan

For example, let's take contract address 0xdac17f958d2ee523a2206206994597c13d831ec7. Does anybody have an idea why the following two are totally different: The string returned from await web3.eth....
2
votes
3answers
981 views

How to verify Mist's standard multisig wallet using Etherscan tool?

I've found standard Mist wallet contract code, thanks to another answer. I am trying to verify this contract over and over using different compiler versions but verification fails. Can somebody point ...
2
votes
1answer
2k views

Etherscan for private networks [duplicate]

Is anyone aware of an Etherscan for private testnet? I'm testing my own contracts, however, the current testnets seem to be under attack, so I've used my own private testnet to test deployment of my ...
2
votes
1answer
672 views

Where does etherscan gets contracts code?

On etherscan.io there is a contract`s source code tab, where does Etherscan get this code? If developers make it available for Etherscan then is it necessary for them to public it or specifically make ...
1
vote
1answer
103 views

ENS on Rinkeby - Network does not support ENS?

I was able to register the ENS domain on Rinkeby, as the network supports ENS. My TX: https://rinkeby.etherscan.io/tx/0xd42b64ab03387d7ca405e7ba7b85ce893444a141e7a7de174f0361e2c4231674 My subdomain: ...
1
vote
1answer
881 views

Warning! Error encountered during contract execution [Bad instruction]

I have created a smart contract to issue an ERC20 token, but when I try to send the token from one address to another I get a "Warning! Error encountered during contract execution [Bad instruction]" ...
1
vote
1answer
630 views

failure to verify truffle compiled contract on ropsten.etherscan.io

Recently just pushed my first smart contract from truffle to the ropsten testnet. As you can see from my terminal output below it compiles and was migrated with no problem: Was broadcast to the ...
1
vote
1answer
179 views

How are transactions broadcasted?

As far as I know, Geth stores pending items in their Txpool. Does "broadcast" means polling again and again to each peer clients until get processed? What's exact name of the function that ...
1
vote
1answer
1k views

Token contract source code not verified

Hi i have create my token with your code i have use https://github.com/ConsenSys/Tokens/blob/master/contracts/eip20/EIP20.sol end https://github.com/ConsenSys/Tokens/blob/master/contracts/eip20/...
0
votes
1answer
90 views

eth.getBalance(eth.accounts[0]) Shows me 0 balance though my syncing is still Running [duplicate]

I am using geth on windows with 1.9.10 version. I used geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" command for launch my geth. I am on the Rinkeby testnet, i already transfer 3 ...