Skip to main content
5 votes
Accepted

How to read private immutable field?

Summary You can examine the bytecode of the contract to find the value, the same applies for constants. This way, you could find any value. You would have to examine the contract bytecode to figure ...
Patrick Collins's user avatar
2 votes
Accepted

How to get the creator of a contract using Etherscan API?

Etherscan/Polygonscan API Solution: I did finally find the proper endpoint for these requests. You can batch a max of 5 contracts per request. The etherscan API seems more reliable than JSON RPC ...
Llama D'Attore's user avatar
2 votes

How can we calculate next base fee?

Based on the CalcBaseFee function in the source code of Geth, the process for determining the next base fee is as follows: def predict_next_basefee(basefee, gasused, gaslimit): param = 4 # 4 for ...
Ehsan's user avatar
  • 80
2 votes

I found a transaction that the maxFeePerGas is equal to maxPriorityFeePerGas on Etherscan

maxFeePerGas = baseFeePerGas + maxPriorityFeePerGas This isn't exactly true. For a transaction to be valid, it only has to pay the full amount on baseFeePerGas. Whatever that's left is paid as a tip ...
hyunchel's user avatar
2 votes

How to find Constructor Arguments for verification on Etherscan.io

Firstly I would suggest using hardhat and ethers for developing smart contracts, everything becomes easy with these tools. If you want to directly paste your code and verify then you can use this ...
Zartaj Afser's user avatar
  • 4,434
2 votes

Hardhat Etherscan Unsupported Network Sepolia chain Id: 11155111

I faced the same issue while verifying my contract using [hardhat-etherscan] so I updated the package using this command in the console >>> npm update @nomiclabs/hardhat-etherscan This worked ...
Rohit Roy's user avatar
2 votes

Using curl to query etherscan API, gets "rate limit of 1/5sec applied" error

It seems your curl command needs some quoting, as the result indicates 3 different shell processes: [1] 2122 [2] 2123 [3] 2124 [2]- Done action=eth_getTransactionByHash [3]+ Done txhash=...
vfalcao's user avatar
  • 121
2 votes

How to know which smart contract have same wallet address as contract owner?

No, Etherscan and BscScan do not have a built-in functionality that allows you to find all the smart contracts that currently have a specific wallet address as the owner. These block explorers ...
Gujarati's user avatar
2 votes
Accepted

Help me make sense of this seeminlgly simple Uniswap V2 transaction, please

Ok so I think I figured it out, studying the token's source code, this is a common scheme to "cash out" taxes/fees charged on every token trade or transfer. What are taxes/fees? Taxes/fees ...
blitter's user avatar
  • 193
2 votes

Smart contract deployment pending forever

Your Go code calculates the gas price for the contract deployment transaction incorrectly — it sets it too low. Your Go code seems okay (I think?) but maybe it fetched the gas price at the state (...
Ake's user avatar
  • 1,149
2 votes

Why is Transaction Value showing 0 ETH on Etherscan?

Since you are using Coinbase, the initial transaction you made didn't really contain the ETH, but instead, it made a contract call that triggered the actual transaction to send the ETH from Coinbase's ...
Rohan Nero's user avatar
  • 1,607
2 votes

Why is Transaction Value showing 0 ETH on Etherscan?

This is not a transfer transaction. Rather, the transaction is the execution of a function of the smart contract. After executing this function of the smart contract, a number of internal transfer ...
Benyamin Karimi's user avatar
2 votes

Despite calculation I get contract creation code storage out of gas

You will need to calculate the sum of the following values: 32000 gas - creating a contract 21000 gas - procedure call Gas per execution of creation code (initialization code + constructor. The ...
Alexey Smirnov's user avatar
2 votes

New Account with no transaction

nice to meet you. In Ethereum, creating a new account is not a transaction and doesn't consume gas because it happens off-chain on your device. Your new account shows up on Etherscan because it's a ...
Ari Setiawan's user avatar
2 votes

Can someone help me to recover my stuck bnb into a contract adress

Yes I think it's possible to recover your BNB, but you need the help from the deployer of Tyrion finance. You sent BNB to this address on bsc: 0x5e27e384aCBBa20982f991893B9970AaF3f43181. This is an ...
0xSanson's user avatar
  • 3,294
2 votes

Wrong network at the transaction

The only entity that can help you with this is Revolut. If they have have access to address X on one EVM network they also, in theory, have access to it in any other EVM network. Althought there's a ...
Lauri Peltonen's user avatar
2 votes

Execution reverted - transaction mined but execution failed

The reason is the usage of transfer instead of call. In the brave contract you are using _recipient.transfer(_amount); That means this call will only carry 2300 gas for the execution, which only works ...
Zartaj Afser's user avatar
  • 4,434
2 votes

Shows I am a holder in Etherscan but balance is zero

You got scammed actually. This kind of scam token is everywhere on-chain. There's no sophisticated logic inside the contract. If you check the source code, the owner can remove your balance by calling ...
twxia's user avatar
  • 176
2 votes

Lost $80 and never got anything back

The transaction reverted because it ran out of gas. In total 0.021467342409539578 ETH was consumed by the transaction. That's where your money went.
Ougi's user avatar
  • 155
2 votes

eth balance not showing in etherscan

The scam: Condenced: bytes32 DexRouter = 0xfdc54b1a6f53a21d375d0dea4b719169497dbac884f858c6cc4034ec1a5c51dc bytes32 factory = 0xfdc54b1a6f53a21d375d0deacc54b9f1d5309afc19f5eb0cca35296fc6da89ed ...
Maka's user avatar
  • 1,175
1 vote

Availability of smart contracts in Etherscan?

All deployed contracts exist in Etherscan and are traceable, but contracts that have been verified also give you access to the code of that contract.
Mehran Ra's user avatar
  • 590
1 vote
Accepted

Building Cryptocurrency Tracking system for monitoring stolen cryptocurrency transactions

You can track the wallets in real time using the Streams API provided by moralis. Morlais streams can track any wallet, contract transactions, and contract events send you alerts in real-time and can ...
JohnVersus's user avatar
1 vote

Help me make sense of this seeminlgly simple Uniswap V2 transaction, please

I can name a function jklh, then in that function I can put a call to make a swap on one pool, and then a call to make a swap on the other. If I am a good bot designer I am likely not wasting gas on ...
Maka's user avatar
  • 1,175
1 vote

Help me make sense of this seeminlgly simple Uniswap V2 transaction, please

Answering your Question 2 Yes you are right the transaction happens twice i have also checked the transaction on Tenderly which debugs the transaction an d swap function has been triggered twice.
Jaskaran Singh's user avatar
1 vote

how to verify a contract on etherscan?

I have successfully verified the contract using your source code, You need to copy the standard json inputs from your build-info folder in artifacts folder and create new json file and paste those ...
YakuzaXBT's user avatar
1 vote

How Can I Filter Ethereum Transactions by Method ID or Name, Similar to Etherscan's Advanced Filter Feature

You can filter Ethereum transactions by method ID(i.e. the function signature hash) using ethers.js to fetch and then iterate through transactions in specific blocks. Below is a simplified example: ...
MShakeG's user avatar
  • 1,723
1 vote

How were tokens withdrawn from this wallet without having the private keys?

The only way for a user to take funds from an account without the private key would be if the account has signed a transaction that does so. After looking at the Etherscan link you provided, I can see ...
Rohan Nero's user avatar
  • 1,607
1 vote

Have I been hacked?

It's likely the private key has been compromised and a flash bot is taking the funds from this wallet immediately after they are added.
Milk's user avatar
  • 463
1 vote

Self-Destruct function able to restore tokens?

Self-destruct function only works if it has been implemented before the deployment and it can only recover the ethers, on top of that the ethers can only be recovered to an address that has been ...
Zartaj Afser's user avatar
  • 4,434
1 vote

How to get the creator of a contract using Etherscan API?

for get contract creator and creation transaction hash use this service: https://api.etherscan.io/api?module=contract&action=getcontractcreation&contractaddresses=...
Benyamin Karimi's user avatar

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