Timeline for How to find confirmation info in ethers.js?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 16, 2020 at 6:29 | comment | added | Lauri Peltonen | A mined block will always include the same transactions. If a block gets reverted a new block will get formed (at some point) to include the same transactions and you have to find that/those block(s) again. | |
Mar 16, 2020 at 0:18 | comment | added | Louis | thanks If I calculate the confirmation block number by myself for example I use the latest block number minus the block number of my transaction, I can get the confirmation number of blocks. But maybe my transaction has been taken out of the original block cannot be confirmed by other nodes so my original block will not include my transaction in this case do I need to: Confirmation_number=Latest_block.number-myblock.number If(Confirmation_number>5) Get my transaction from myblock to check again my transaction included | |
Mar 15, 2020 at 14:48 | history | answered | Lauri Peltonen | CC BY-SA 4.0 |