Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
3 answers
545 views

USDT Transaction Dropped & Replaced

While trying to send USDT to a wallet address, my transaction got dropped and replaced. I assumed that the transaction would go through if I just wait, but it seems that it got replaced and sent to a ...
2 votes
2 answers
158 views

Can a contract check an existing transaction for validation?

I am new to smart contract development so any help or guidance is appreciated. I am thinking of creating a contract that checks if a certain transaction has already been done for validation. Is that ...
0 votes
1 answer
450 views

How to fix this? "This txn hash was found in our secondary node and should be picked up by our indexer in a short while."

https://etherscan.io/tx/0x664156fcb7fec578f32edcd9e95b62d920a8642e7cd63f6552ac917b44baee45 Guys, this transaction has been like this for 6 hours. It says "should be picked up by our indexer in a ...
3 votes
1 answer
749 views

Pending transactions are not mined

Preconditions I'm running a private network with Geth, having custom smart contracts deployed by Truffle and a simple frontend which using Metamask as a provider to connect the network. Versions ...
4 votes
2 answers
474 views

The average number of pending transactions within the pending pool

Is it possible to know the average number of pending transactions for a larger period of time? For this chart (https://etherscan.io/chart/pendingtx), I can only figure the most recent 5 days. I would ...
0 votes
1 answer
774 views

In Mempool, how to identify whether it's a "buy" or "sell" tx on Uniswap?

When looking at the pending transactions, in Mempool that is, and the ones that have to do with Uniswap (to == Uniswap router address), how can it be identified whether a certain tx is a "buy&...
1 vote
1 answer
228 views

Is there a way to make the user pay "aggressive" gas fees automatically instead of them choosing that in MetaMask?

I am having issues with MetaMask in my DApp because users are using wrong or invalid RPCs. Is there a way of making users add a network automatically to MetaMask with the right RPC and override the ...
1 vote
2 answers
2k views

How to get transaction status (programatically, not etherscan)?

I have a problem when I interact with an Smart Contract, from a javascript webapp. I can execute the transaction correctly when the status is confirmed, but I cannot get any error response when it ...
0 votes
1 answer
1k views

Reason for a transaction and 2 cancelling transactions being stuck?

I sent a transaction. Shortly after, I decided to cancel it, so made a cancel transaction (using MetaMask). After a while, since nothing was happening, I sped up the cancel transaction, i.e. sent a ...
0 votes
0 answers
35 views

Confused with eth transaction pick up priority

I've added a transaction couple days ago at 8 gwei with little priority fee (0.001) There were blocks where the base fee was lower than mine yet it wasn't picked up. This is one recent example block ...
0 votes
0 answers
63 views

I get an error when there is another tx record related to the target token in the same block

I create a smart contract and interact with node.js and buy and sell a token. Here is part of my smart contract: // TokenBuy Function -> function buyToken(address token, uint amountOutMin, uint ...
0 votes
1 answer
492 views

How to make Frontrun bot faster

Do you have any tips? I want to make sure, that my transaction will be placed in the block of the transaction to frontrun
0 votes
0 answers
9 views

Mine tokens stay on out

Hello there i have a coupleof hunderd euro,s in WSM tokens i bought those with Metamask. And i transferd them to Etherium but the some of mine tokens are out how do i get them in I have contact ...
0 votes
0 answers
41 views

Still shows as pending in etherscan but Transaction dropped and replaced

I Replaced a transaction by sending transaction customizing the nonce in Metamask. Now the Replaced transaction shows as "dropped & replaced" in etherscan, but it's still pending: ...
1 vote
0 answers
252 views

Why I can't speed up a speed up transaction in MetaMask?

I was working MetaMask: Send (do) a transaction two buttons for controlling the transaction appear Cancel & Speed up Speed up transaction Only cancel button is there and I can't speed up the ...
0 votes
1 answer
5k views

What's the difference between "pending" block and txpool?

Even though my parity node (private network) is not mining, it seems to have a pending block as well as a txpool. After sending some transactions, the web3.eth.getBlock("pending") call returns ...
0 votes
1 answer
293 views

Can a sandwich attack be designed using 1 flashloans and no outside capital? attacker tx, victim tx, attacker tx bundled with 1 flash loan?

So the question is can you bundle 3 transactions into one transaction where the first transaction borrows using a flash loan executes certain conditions, requires a middle victim transaction be ...
0 votes
1 answer
355 views

TxPool size on public BSC node

Something happened to BSC public node(https://bsc-dataseed.binance.org/), and I am confused. I usually call this BSC public node to get block transactions and content of txpool. Average number of ...
1 vote
0 answers
435 views

Alchemy API: How to get transaction history including failed and pending transactions for a specific wallet address?

In React I'm building a transaction history screen to list succeeded, failed and pending Polygon transactions. Using alchemy_getAssetTransfers I can retrieve the transaction history for a specific ...
1 vote
1 answer
23 views

Modifier will get executed in the EVM or no?

where Modifier executed? in block 1, for example i want send 10 eth to a contract address. in the modifier i will check that contract address should have 0 eth balance. The check is done at the ...
1 vote
1 answer
524 views

Using the Parity or Geth light client, how can I monitor an address for transactions?

I'd like to use Parity or Geth, in light client mode, to monitor an address for transactions. Essentially, I should be able to check each block for transactions involving a certain address. In the ...
1 vote
0 answers
22 views

How many dependent transactions will Infura accept?

How can I reliably send many TXs simultaneously on mainnet with Infura? I'm trying to send a lot of TXs at once (like one hundred). I've been able to do this on Goerli (getting in 120+ TXs in one ...
2 votes
1 answer
1k views

How to get transactions from a wallet address?

Is there a way to get all the transactions from a wallet address using ethers.js or viem.sh? Or are there any third-party libraries that have this functionality? I'm looking for something along the ...
2 votes
1 answer
583 views

Transaction on Uniswap -- how to find out what pair is being swapped (via web3.js)?

Given a transaction on Uniswap, how to find out what pair is being swapped, and the amount of it? Namely, via web3.js/ethers.js Is there relevant and sufficient information in the fields of a ...
0 votes
2 answers
354 views

Rinkeby: waiting for transaction to be mined

My transactions (publishing contracts and sending ether) aren't going through on Rinkeby (last several hours). Metamask is listing those txs as failed. I've set my gas price fairly high (100+) with ...
1 vote
1 answer
937 views

How to deal with 'transaction replaced" error? Is there a way to force a non-replaceable tx sending?

I'm having a bit of a headache trying to understand how to fix the 'transaction replaced' error when using ethers-js. I use await tx.wait(). I even use sleep for at least 10 seconds between ...
0 votes
1 answer
3k views

ethers.js - How to confirm if transaction has been mined successfully or not?

I have a script which calls a smart contract method swapExactinputSingle(amtIn). I want to make sure that once this particular method call is successful, then only the code lines to print updated ...
3 votes
2 answers
949 views

How to find out when pending transactions go through? Ideally I'd be alerted

How do I know when transactions are either successfully mined or still sitting in the mempool? I don't want to just overbid on gas to get my transaction to get mined faster / more instantly from the ...
0 votes
2 answers
599 views

I'm trying to create a bot that can copy-trade wallets on Ethereum. Im a bit confused on something

So say I want to copy this transaction: https://etherscan.io/tx/0xf4cf0c28c014dd54bd1453b0a92514111ffce2f5584d47beabbc6db2253597fd This transaction uses the method "swap tokens for exact tokens&...
10 votes
3 answers
890 views

Commit-Reveal contract still vulnerable to front running. How can it be improved?

I'm writing a contract and I want to shield it from front-running as best as it can possible be done (obviously, fully preventing front running would be ideal). My implementation is very similar to ...
3 votes
2 answers
2k views

Pending Transaction on Goerli

I've started the Ethernaut challenge. I have a problem with forever pending transaction on Goerli, here is the link : https://goerli.etherscan.io/tx/...
2 votes
3 answers
4k views

How to simulate a transaction before sending it

Miners will include the transactions into block and those will change the state of a lot of variables including the balances of accounts. I wanted to do it in my local node before sending transaction! ...
1 vote
2 answers
4k views

Raw transaction hex from etherscan?

Anyway to get the raw Hex of a transaction from etherscan? I know in Bitcoin you can do this on blockchain info with ?format=hex I want to rebroadcast a tx when it gets dropped from the mempool
0 votes
2 answers
241 views

How to wait for transaction to be mined in web3dart?

I'm bulding a Dapp. My Dapp interact with erc20 tokens and erc20 tokens must be approved first. But how i can wait for the approve txn to be mined and success before doing other txn like transfer... ...
0 votes
1 answer
57 views

Connect different wallets same time and make transaction [duplicate]

actually i want to do this on bnb chain, the thing is that I have multiple wallets in the bnb chain and so I want to use a claim option and claim the token from multiple wallets, so I want to know is ...
1 vote
1 answer
209 views

hacking by sending transaction to self

So I was coding like normal and accidentally pushed the .env file which contains my wallet private key onto a public GitHub repo. It looks like there are bots watching the commits and someone operated ...
2 votes
1 answer
385 views

Broadcasting a transaction to be included in the next block

Since the merge we have predictable block times of around 12-13 seconds. I want to broadcast my transaction in a way that it is highly likely to get included in the next mined block, e.g. the block ...
2 votes
1 answer
990 views

Making sense of a decoded transaction on Uniswap V2/3

I've subscribed to pending transactions of Uniswap V2 and V3 and am inspecting them, by decoding input of the transactions. I'm getting data as follows: //1 data: { method: 'swapExactETHForTokens', ...
4 votes
2 answers
6k views

Monitoring Pending Transactions

How would I go about monitoring pending transactions in real-time? Would I be able to monitor only one function? I have a full node running and have a nodejs (express server) that I want to have ...
2 votes
1 answer
551 views

Wait for incoming ethereum transactions and credit them after n confirmations

I'm trying to create a website where users can deposit ethereum. For my server I'm using node.js and express.js. I looked into web3.js but the docs are unclear to me and I don't know which functions ...
0 votes
0 answers
179 views

How to exctract/quiery information about "amounts" in pending tx which is sent to Uniswap?

I have a simple JS script. I'm looking at the pending transactions in the Mempool, and only at the ones which are sent to Uniswap router. Namely, each of them has tx.to == $UniswapRouterAddr How can I ...
0 votes
1 answer
13 views

How can a miner pack more transaction in one block?

Other than lowering the gas price and increase the gas limit, is there any simple configuration change to ensure the miner increase as many transactions as possible until the block is almost full?
0 votes
1 answer
3k views

How long before transaction is removed from the Mempool

So I have a transaction T1 that has been stuck in pending because I put the gas really low. I forgot about this and then tried to process two transactions after with $126 gas fee and $111 gas fee. I ...
0 votes
2 answers
5k views

Can't send a new transaction with a lower nonce while the previous one is still pending

Several days ago I sent a transcaction via MetaMask, to a different account of mine, with a gas fee of 30 gwei. It's still pending due to a fee being too low. A transaction contains all Eth in an ...
0 votes
1 answer
80 views

Is it possible to check when a transaction has been sent?

Is it? I don't mean the date-time of the 1 confirmation, but when a person has actually submitted a transaction to the blockchain or rather the transaction pool? Or is it the case that the date-time ...
0 votes
1 answer
218 views

Speed up Frontrun Bot

I've made a frontrun bot for the Binance Smart Chain. It's working fine, but just for 50% of all transactions.. In the other 50% the is missing the transaction by 1 block.. Example is below My ...
0 votes
1 answer
35 views

Does the age/timestamp of a transaction matter to a miner?

Up to now I know that miners choose transactions to be included in a block only based on their related transaction fees. Does the age (i.e. timestamp) of a transaction play any role in the priority ...
3 votes
2 answers
7k views

Error "replacement transaction underpriced" using Nonce method of cancelling transaction

I have a pending transaction that is not going through because of low gas price. I tried sending a new transaction with the same 57 nonce (https://etherscan.io/tx/...
0 votes
3 answers
4k views

Understanding front running. Why did my transaction fail? (PancakeSwap V2)

I am doing some research on front running transactions. My goal is to purchase a token in PancakeSwap in the same block that liquidity is added. Lets take this token as an example: https://bscscan.com/...
1 vote
0 answers
331 views

EIP 1559 signed transaction stuck, now can't do anything on metamask either

contract_txn = weth_contract.functions.redeem(address, True).buildTransaction({ 'type': '0x2', 'chainId': 43114, ...