0

If I call approve and transferFrom on an ERC20 token in two transactions, with the nonces being 1 and 2, respectively, how do the miners know which to accept first?

Do the miners choose the ordering of the transactions? If so, does it depend on the nonce or just the gasPrice? If they have the same gasPrice, is it random which one is included first? Does mining software look at the nonce? Can a miner include a t

Looking at Etherdelta, it seems like their interface sends both transactions, approve amd transferFrom in one block with an incremented Nonce. So is this possible?

1

Transactions from a single account are mined in nonce order.

Are Transactions originating from one account mined in nonce order?

Hope it helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.