New answers tagged

0 votes
Accepted

I think i have a sweeper bot on my account

How come the coinbase transaction does not appear on etherscan? Coinbase is sending you the ETH from a smart contract. Because of that, the ETH transfer appears under the "Internal Transactions&...
Undead8's user avatar
  • 3,539
0 votes

Can you schedule an eth transfer in the future?

Signing a transaction, and broadcasting it to the network are 2 distinct steps, so it is possible for the broadcast to be done 1 week later. But if A sends the signed transaction to B, A cannot ...
eth's user avatar
  • 85k
2 votes

abi-decoder's decodeMethod returns undefined

The problem seems related to how abi-decoder computes the function identifier (the hash of the function signature); in particular, it associates swap function to the 0x899a73f4 ID and not to the ...
Giuseppe Bertone's user avatar
0 votes

How to retrieve the logs of transactions on one contract and multiple addresses

dev advocate at Chainstack here. Here you can find a good explanation and examples of how to use eth_getLogs. Those are the parameters accepted by eth_getLogs object — the filter parameters: fromBlock ...
Dave Dev Advocate Chainstack's user avatar
1 vote
Accepted

How to keep track of each account's ETH balance when parsing all historical transactions

Dev Advocate at Chainstack here. This task is relatively complex if you want to scrape and index the chain from scratch. You can achieve this by tracing each transaction using trace_transaction Let's ...
Dave Dev Advocate Chainstack's user avatar
1 vote

How to keep track of each account's ETH balance when parsing all historical transactions

I use debug_traceBlockByNumber and specify callTracer as the tracer, so I get every internal call of the block. And track values of these calls Also you can trace separate transactions same way P.S. ...
crystalbit's user avatar
1 vote
Accepted

Same block Swap before an Approval is allowed?

Here's what happened: The first transaction is swap from some ETH to the iGP token. The second transaction is approval for subsequent iGP trading. The swap does not need an approval because the ...
kfx's user avatar
  • 1,394
1 vote

TopsvilleNFT ,took 2000.00 and suspended my account for asking where was the 50eth they sent to paypal om 11/16/23

I'm sorry to hear about your experience. Unfortunately, fraudulent activities like this are prevalent in the crypto space, the money is hard to recover.
Canard Coca's user avatar
0 votes

Send selected token (the one you deployed) with web3js

To interact with a contract on a blockchain, you must have to communicate with a RPC or any other endpoint prefer. To that you may have to use a direct API call, a library like web3 or ethers from a ...
Iresh Madhusankha - DevCresix's user avatar
0 votes

'value at "/0" is required'

Find the problem and fixed it. The part I fixed: Instead of rawTransaction after you write signedTx and put dot it shows you raw but I saw in an example of people doing it they wrote rawTransaction so ...
seojunchian's user avatar
2 votes

Tracking the spedup transactions from metamask

There is one way of tracking this. Follow these steps. Fetch the nonce of the last transaction submitted by the account. In this case, the nonce of increaseAllowance called. Subscribe for pending ...
Iresh Madhusankha - DevCresix's user avatar
0 votes

Which contract should execute the approveAndTransferFrom function under one transaction?

As only the owner of the tokens can approve the spending of their tokens, yes it should be Contract A that call the approveAndTransferFrom function, with the spender being the TokenTransferContract ...
Pacdac's user avatar
  • 70
0 votes

Weak RNG vulnerability proving

The writeup for First Flight Puppy Raffle is here: https://www.codehawks.com/finding/cloogzlbq01miw9xtmfcfpded The Attack contract aims to exploit the weak PRNG in the selectWinner function to ...
anonauditor's user avatar

Top 50 recent answers are included