Questions tagged [pending-transactions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
12 views

ethers.rs - PendingTransaction returns Ok(None)

I'm running into some issue while testing a smart contract. So I published a smart contract, made a call using cli, and I got the data of the call: let data = "...
Nathan's user avatar
  • 101
0 votes
0 answers
34 views

Geth transactions not broadcast and stuck in pending state

Setup three Geth private network nodes(Clique) via docker container. They are deployed on three different VMs. Among 3 nodes, there is a miner node to mine the block, a RPC node to accept RPC request, ...
abcuse1111's user avatar
1 vote
0 answers
52 views

GETH - BAD BLOCK : Error: invalid merkle root - Transactions and block stuck in pendings

I'm having problems with geth when I try to send transactions on my private blockchain being developed using Geth. Practically a block is blocked in pending with around twenty transactions inside it ...
AlexCav's user avatar
  • 51
0 votes
1 answer
47 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 ...
Akash Patel's user avatar
0 votes
0 answers
30 views

How can I get pending transactions from ethereum mempool faster than others? [duplicate]

everybody. I want to get pending transactions faster than others. I have heard I have to use private light node to do it. Is that right? How can I do that? I can also use infura or alchemy but I think ...
AresColin's user avatar
1 vote
2 answers
73 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 ...
fwara07's user avatar
  • 11
1 vote
0 answers
133 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 ...
Operator's user avatar
  • 111
1 vote
1 answer
110 views

ETH pending transaction (>4 days)

I have a transaction pending on ETH which is bridging ETH to Linea Mainnet. I accidentally set my "advanced" to both Base and Priority to 10. Which now causing my transaction stuck more than ...
Brian Har's user avatar
0 votes
1 answer
133 views

simulate a transaction considering another pending transaction

I have the following problem and have hard time to simulate it to get the answer. Let say I have a 5 WETH tokens. I sent transaction X with nonce 1 to transfer 5 tokens from Account A to Account B. ...
Majd TL's user avatar
  • 3,167
2 votes
1 answer
306 views

InvalidStatusCode: server rejected WebSocket connection: HTTP 401

I am trying to subscribe to pending transactions on the Ethereum blockchain using this tutorial from Infura: https://docs.infura.io/tutorials/ethereum/subscribe-to-pending-transactions When I try to ...
Beata's user avatar
  • 25
0 votes
0 answers
11 views

Reason for a transaction and replace transactions being stuck?

The replaced transaction hash:0xb35ef6f82632d1f132950f71d86e8706236d8659ea6163951adcf63129ce30e1 The original transaction hash:0x9aa8455e38da183f4a01d3e12d02de85048bdb0a4a9fc040140a276159190c20 Today ...
Ryan's user avatar
  • 1
0 votes
0 answers
12 views

Are all transactions in mempool issued by an EOA?

I wrote some code that gets pending txns contract code on Ethereum, and all i get is contract code: 0x which means no contract code thus txn is issued by an EOA. Can we assume that every txn in ...
Ahmed Rami Berrahal's user avatar
0 votes
0 answers
36 views

How can I access mempool pending transactions without running a full node?

Is there a way to access mempool data without running a full node? through a node provider for example?? (I don't want to use already existing market products (bloXroute, blocknative..), basically I ...
Ahmed Rami Berrahal's user avatar
1 vote
1 answer
33 views

it’s possible that swap transaction get executed some blocks later

i want call X function, there are multiples external calls in this function.one of this external calls is a DEX trade. it’s possible this DEX trade transaction get executed in the some blocks later or ...
Saeed Alipoor's user avatar
1 vote
1 answer
15 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 ...
Saeed Alipoor's user avatar
0 votes
2 answers
172 views

Pending transactions stalled even cancelling with high gas fees

I have several pending Ethereum pending transactions that have been stalled for long, as show here: https://etherscan.io/txsPending&m=hf It doesn't matter how many times I tried to cancel them ...
user376830's user avatar
0 votes
0 answers
70 views

How can I subscribe pending transaction which are filtered by 'to' address?

I tried to subscribe pending transactions by using ethers.js and the code is below. subscription = provider.on("pending", (txHash) => { if (!onRunning) { processTx(txHash); } }); But when ...
Michael Anderson's user avatar
1 vote
1 answer
256 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 ...
Adrian D.'s user avatar
  • 514
0 votes
0 answers
177 views

Getting accurate Mempool data quickly

The mempool of one node isn't often the same as the mempool of another node, so when trying to get an accurate list of pending transactions at any given time, how can someone get that list? I assume ...
你的老师's user avatar
0 votes
1 answer
178 views

Can't clear pending transaction with current nonce getting an rpc error

Somehow my transaction was sent with extremely low gas fees from ETH mainnet to zkSync bridge. Is stays forever on pending I saw this and tried to cancel it/speed it up but it did not work. I tried to ...
Car Konto's user avatar
1 vote
1 answer
268 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 ...
Eugene1111's user avatar
0 votes
0 answers
101 views

long-time pending transaction suddenly is hidden on Goerli

Sometimes, happen for me scenario below: I send a transaction to Goerli with low gas. Infura nodes return me a successful message with a related transaction hash. But when I search for the transaction ...
mjdimn's user avatar
  • 1
2 votes
2 answers
669 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 ...
0xshells's user avatar
2 votes
1 answer
88 views

How do I prevent people from seeing my transactions and the information about these transactions?

I don't want to expose my pending transactions to the public mempool b/c I want to prevent arbitrage and tactics like frontrunning.
0xshells's user avatar
0 votes
0 answers
17 views

How to store temporary state change without committing to block?

I want your suggestion.. I want to inject (using python for e.g.) a transactions every 10 seconds. function makeTransaction (uint _value) I am externally interacting with the contract... ...
Yash Madhwal's user avatar
1 vote
1 answer
27 views

What is the recommended replacement of the js option of the geth?

We were using the js together with a --preload to run geth in a private network using docker. The main use-case was to mine blocks only when a transaction exists (Similar to this How to make miner to ...
Tsirkin Evgeny's user avatar
0 votes
1 answer
209 views

Contract deployment on Polygon mainnet being stuck

So I've been trying to deploy the simplest contract on Polygon mainnet for hours now with no luck. The transaction is stuck on pending. I tried with many different contracts and I tried changing the ...
Hasan Khadra's user avatar
1 vote
0 answers
20 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 ...
will_durant's user avatar
  • 1,154
0 votes
1 answer
89 views

Transaction going to pending state

I have a private protected Quorum Blockchain network instance: Geth/v1.8.18-stable(quorum-v2.4.0)/linux-amd64/go1.11.2 coinbase: 0x365...63c7ced at block: 175 (Fri, 06 Jan 2023 12:47:38 IST) datadir: /...
Geethapriya G H's user avatar
0 votes
0 answers
14 views

Explain the processing of a multi-part transaction

Let's say I call a function that has multiple actions (call another contract, transfer some coins, increment a local value). Now let's say that I send these actions as 3 transactions separately to a ...
Origami's user avatar
  • 136
0 votes
2 answers
389 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&...
SA22K's user avatar
  • 7
0 votes
0 answers
40 views

pending trasaction - get pending time

I'm listening to pending transactions using ethers.js like this: providerWS.on("pending", (tx) => { console.log("receiving pending tx:", tx); } Sometimes I'm getting trasactions ...
John's user avatar
  • 13
0 votes
0 answers
90 views

Getting a transaction in the same block as a detected transaction [Web3.py]

I'm working on a python project that detects the function addLiquidityETH being called and then executes a transaction on the same block. I've currently got the detector working for the function being ...
Sky's user avatar
  • 1
2 votes
0 answers
975 views

Getting ALL pending tx from txPool

I'm working on top of geth in golang. My first goal would be to stream all pending transactions from the txPool. The problem is that when I run my script, I can't manage to catch 100% of pending ...
kms kms's user avatar
  • 21
0 votes
2 answers
46 views

Gas settings when sending a tx

I currently have several txs stuck on Pending even after passing them 100 gwei of gasPrice while current baseFee is 0.000001086 gwei (on Goerli and using ethers.js). const ops = { gasLimit: ethers....
dNyrM's user avatar
  • 711
0 votes
1 answer
2k 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 ...
Tarun Khare's user avatar
0 votes
1 answer
27 views

Why does my Remix crashes and the transaction keeps on pending

So Hi, I have been coming back to SC programming and I tried to create this smart contract that crashes the remix VM. I do not know what error is causing it and curious to understand it from a low ...
Lee's user avatar
  • 1
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/...
foufrix's user avatar
  • 175
0 votes
1 answer
41 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 ...
Dasappan's user avatar
0 votes
2 answers
189 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... ...
Long's user avatar
  • 41
1 vote
1 answer
141 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 ...
Stephen Fong's user avatar
1 vote
0 answers
250 views

Best Way to Read Pending Transactions of Uniswap on Ethereum 2.0 Blockchain

I am new to Ethereum2.0. I am trying to find a way to read transactions to Uniswap Pools. I looked at Alchemy, it seems they only allow subscribing pending transactions of one address. So, I am ...
Augie Li's user avatar
2 votes
1 answer
123 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 ...
Plus Ultra's user avatar
0 votes
1 answer
142 views

Transaction on etherscan vanished

Anyway i saw my transaction of eth on etherscan, thought looking good. so put laptop away for 10 minutes and waited for it to clear into my Metamask. After just 10 a 20 minutes went back and saw that ...
Carl's user avatar
  • 1
1 vote
0 answers
66 views

How to evaluate pending transactions which will be executed

When subscribing to the Ethereum mempool I receive all transactions that are pending within the network. I would like to understand how I would be able to evaluate whether a transaction will be mined, ...
Riccardo Perego's user avatar
0 votes
1 answer
373 views

Faced a problem whiling getting Ethereum transactions which are in mempool

I am trying to get mempool transactions ASAP. My purpose is to get the pending transactions on Uniswapv2 router before the transaction is confirmed. I tried several providers from Quicknode, Alchemy, ...
Dream Person's user avatar
1 vote
1 answer
269 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 ...
gggggggggg's user avatar
0 votes
1 answer
31 views

Which transaction will be prioritised: send or send by approved

Let’s say my address is X and I have 10 USDT there. Address Y is approved spender of wallet X USDT funds, meaning that address Y can send USDT from address X. Address Z and W are some other addresses. ...
btrader's user avatar
  • 11
0 votes
1 answer
225 views

Can Uniswap swapExactETHForTokens amountOutMin function accept 0?

Here is a result I received from scraping pending ETH transactions: Transaction hash: 0x9e0e02546b56a7ae81803627d0e4124171970d7a1c2da4b2c68022aedd9da6c4 {"method":"swapExactETHForTokens&...
Kyle Bayer's user avatar
2 votes
1 answer
671 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', ...
Kum's user avatar
  • 75

1
2 3 4 5
7