Questions tagged [etherscan]

Etherscan allows you to explore and search the Ethereum blockchain for transactions, addresses, tokens, prices and other activities taking place on Ethereum

183 questions
1
vote
1 answer

Unable to match calculated "gas used" value using Solidity IDE to the etherscan explorer "Gas Used By Transaction"

I am trying find the gas used by the transaction when a method is clicked in the remix solidity IDE. my code is as below. Value I am getting in the gasUsed variable is different to the value that is being shown on the etherscan explorer for this…
0
votes
1 answer

Smart contract interaction error "code=INVALID_ARGUMENT, version=bignumber/5.1.1)"

enter image description here Hello. How can i solve this? Thanks I think there should be some kind of symbol betveen values, but i tryed different symbols, but dose not work for me. I don't know much about smartcontracts and solidity and what type…
0
votes
1 answer

How to pass an array of struct as an argument in Etherscan

struct PricingOption { uint208 price; uint40 numberOfEntries; } pricingOptions is of type PricingOption[]. Trying to pass pricingOptions array as [[1000000000000,10],[1700000000000,20]] doesn't work. Wrapping numbers into quotes doesn't help…
GorgeousPuree
  • 331
  • 3
  • 10
0
votes
0 answers

What does the method '0x110bbd8d' on Ethereum Blockchain do?

When looking at new liquidity pairs under Etherscan, I often notice that there are numerous transactions/interactions with the contract shortly after the liquidity is made available. I noticed the "0x110bbd8d" method, which finally put me on the…
krop42o
  • 1
  • 1
0
votes
0 answers

How to avoid that certain contract address is not removed from the JSON? Causing duplicate messages from my telegram bot

I have a piece of code that is scanning for new ERC-20 eth contracts via Infura API each 5 seconds and saving the addresses to the JSON file. Then I have a second function which is not working how it should, the problem with that function (check…
RasmonT
  • 391
  • 2
  • 13
0
votes
1 answer

binance smart chain testnet verify not working at all

even this simple smart contract is not verifing in the binance testnet platform I can not find the issue. already tried with and without constructor parameters. I complied it using remix. smart contract pragma solidity ^0.8.0; contract miniContract…
0
votes
0 answers

Using Sepolia Testnet --> Warning! Error encountered during contract execution [execution reverted]

The background of my topic is e-commerce using smart contract, I need to create a escrow account to allow customer to send funds, instead of directly transferring the funds to the seller, until the customer received the items they bought. I'm using…
JHH__
  • 1
0
votes
0 answers

Given a block, how do I find the addresses of all newly deployed contracts?

I have a naive method where I go thru all the transaction receipts of a block and check if there is a contract address property BUT this is too damn slow so I can't use this. async function getContractsInBlock(latestBlockNumber, contractAddresses)…
0
votes
1 answer

Etherscan API - ERC20 transaction - Get Token and amount in ETH

I'm taking my first steps with the etherscan API. My goal is to successfully export data from a wallet, mainly "Token Transfer ERC20", and to be able to calculate the wallet's ROI. To do this, I'll need the TokenSymbol, MethodID, value (ETH) I could…
Odelf
  • 1
0
votes
1 answer

How to get all contracts that were accessed in a transaction?

I see that according to [ether docs](https://docs.ethers.org/v5/api/providers/types/#providers-TransactionReceipt, I can see the contract address of the first called contract. However, I am interested in seeing if a certain set of contracts was…
0
votes
1 answer

How to see full wallet address in etherscan.io Top Accounts?

I'm putting together a statistic of some ethereum addresses. Using etherscan.io from the Top Accounts page: https://etherscan.io/accounts But there the page displays the truncated addresses containing "..." For example: The website…
J9B10
  • 21
  • 7
0
votes
0 answers

Is there an API that can access txID info for all the top networks?

I have deposits with multiple coins on multiple networks, I need to access data from each txID, I dont want to call the api of etherscan, solanascan, polygonscan, btcscan. It woulld be easier with one api having access to all transaction Info. Any…
Joel
  • 1
0
votes
1 answer

How do I create a local workspace in vscode.blockscan.com?

I'm trying to debug and run a code that was deployed on Etherscan via the Terminal. I tried downloading the code to my computer and then loading it to vscode.blockscan.com but that didn't change anything.
0
votes
0 answers

Hardhat contract not showing

I'm trying to build an NFT site... following a video on Youtube I got to the part where I need to deploy my contract. When I try to run npx hardhat run scripts/deploy.js --network goerli this message comes normally: Lock with 0.001ETH and unlock…
0
votes
0 answers

Ethereum in Remix contact. Withdrawal doesn't work

I opened a smart contract on Remix and sent some eth on it. Now that I want to use the withdrawal option to send the Eth back to my Metamask the gas estimation error tells me that I don't have enough eth for profitable frontrunning. I still went on,…
Xavier
  • 1