Linked Questions

0 votes
1 answer
634 views

Batch generating raw transactions nonce problem [duplicate]

I'd like to batch generate a large number of transactions for one account and sign them in a more secure environment. Ideally I would create a queue of unsigned transactions (here in my understanding ...
jeff's user avatar
  • 603
43 votes
4 answers
29k views

What happens when a transaction nonce is too high?

From Design Rationale: One weakness of the account paradigm is that in order to prevent replay attacks, every transaction must have a "nonce", such that the account keeps track of the nonces used ...
BokkyPooBah's user avatar
  • 40.3k
52 votes
2 answers
38k views

What is nonce in Ethereum? How does it prevent double spending?

recently I got fascinated by blockchain, and started learning Ethereum. I came across the concept of the nonce in Ethereum. After researching I found out that nonce is used for two purposes. a. To ...
Thinker's user avatar
  • 837
35 votes
6 answers
46k views

Is there a way to find an account's current transaction nonce?

I need to know my transaction nonce because I am doing fancy stuff with contract addresses (which are the keccak hash of my address + my transaction nonce). Is there a way to find this through the ...
Broseph's user avatar
  • 695
4 votes
2 answers
5k views

Order of transactions in the same block

I am writing a Medium blog post about front-running and can't seem to find information about the order of the transactions in the same block. I have executed two trades, one with the lower fee, call ...
Naz's user avatar
  • 180
7 votes
1 answer
2k views

Why does sendSignedTransaction return a tx hash BUT does not post to the Rinkeby network (React, Metamask, web3, infura)

I'm developing a very simple React application wherein a user clicks a button and some ether gets sent from one account to another. Currently, the onClick sendEther function crafts a proper signed ...
Sam Dealy's user avatar
9 votes
3 answers
4k views

How to send a lot of transactions to ethereum, using js

I'm trying to send a lot of transactions to Ethereum with one program written in js. I use node js, web3 and infura ropsten. The problem is: if i send transactions at once, most of them just disappear....
Kate's user avatar
  • 91
2 votes
1 answer
10k views

getting error nonce too low , but nonce is proper stuck since one day

I am working with web3.js since sometime now , but now i am stuck with nonce too low error , the nonce is proper also i have checked private key and other addresses , they also seem to proper , ...
Ether's user avatar
  • 45
3 votes
2 answers
2k views

Transaction having low gasPrice makes all the other transactions hang on the pending state

I have a small private network that has a proof-of-authority engine created via geth-clique using Geth Version: 1.8.3-unstable, currently there are three signer nodes and two other non-signer nodes (...
alper's user avatar
  • 8,395
0 votes
1 answer
2k views

the tx doesn't have the correct nonce. account has nonce of: 12 tx has nonce of: 3 - Ganache

I am trying to run my simple contract with different parameters (in the form of encoded signatures) and intends to put multiple transaction into ONE block. If I set Ganache GUI with automine option, ...
Amir Ali's user avatar
  • 447
2 votes
1 answer
2k views

About transaction higher nonce than current nonce

I'm trying to build an Ethereum exchange service, so concurrent schedule is needed and nonce management is the most problem (another topic discussed about it). At specificed moment, I have large ...
mmo2112's user avatar
  • 27
1 vote
1 answer
2k views

Multiple Transactions From Same Address With Same Details

I am running a local Ethereum node which takes a perceivable amount of time to mine blocks. I am trying to develop a bullet-proof way of dynamically calling transactional methods on an Ethereum smart ...
Gavin Glynn's user avatar
3 votes
1 answer
1k views

Raw transaction nonce won't increment until confirmation

I am building transactions manually and have been able to successfully create raw transactions which can be broadcasted to the network. My problem is, that while I can get a nonce from the web3....
James's user avatar
  • 341
1 vote
1 answer
947 views

Why is eth_getTransactionCount nonce incorrect under load?

I'm calling eth_getTransactionCount via JSON RPC, and taking that value and trying to use it as nonce for a RawTransaction to send ETH. I'm running this against a ganache server. This happens in a ...
user3534080's user avatar
0 votes
2 answers
745 views

Will 'x.send(amount)' revert if 'x' is a contract with a fallback function which reverts?

I know that x.transfer(amount) reverts if either one of the following two scenarios takes place: There is not enough ether in the calling contract, i.e., amount > address(this).balance Variable x ...
goodvibration's user avatar
2 votes
2 answers
566 views

How to process Smart Contracts payable functions in batch?

I am aware that metamask will enable effective security for processing via the web browser a payable function action to a smart contract. What happens in batch? I have an API service which then ...
Trevor Lee Oakley's user avatar
1 vote
0 answers
394 views

Is the transaction nonce strictly sequential? [duplicate]

Do we have to keep track of the nonce/transaction status, if I am creating a couple of quick/parallel transactions. ie Could we skip a number when creating a raw transaction, if the previous one is ...
shonjs's user avatar
  • 475
0 votes
0 answers
330 views

Geth automining includes only 1 transaction per block

I am trying to perform a heavy load and scalability tests on a smart contract. However, the test takes a lot of time because only 1 transaction is added per block. I read that this might be due to ...
Aleksi Daskalov's user avatar
0 votes
2 answers
186 views

Measuring deployment time of a group of transactions in a heavy load testing

I am currently trying to perform heavy load testing on a ERC20 token. My plan is to use truffle to test stuff like how long it would take for 500 transfer transactions to be deployed (on a private ...
Aleksi Daskalov's user avatar
0 votes
1 answer
112 views

Resubmitting the same transaction

A common concern for dapps using public blockchains is to check that a submitted transaction was included in a block after some time. And, if not, try to resubmit the same transaction (I mean, using ...
Suzana Maranhão Moreno's user avatar
0 votes
1 answer
117 views

RPC 's SendRawTransaction(increased nonce) many times ,only the first transaction in block

I am using infura node (rinkeby), php. There are 3 transactions I signed with custom nonce (like the solution here) then broadcasted them by sendRawTransaction and succeeded. After above I get 3 ...
Toknsit Toknsit's user avatar