The deposit with a leafIndex of 51577 does exist: https://etherscan.io/tx/0xd20351a0e2a9a3f40cb1f55236b30185184587b05551e5e4399c4dbf7aa3ca95
That would be:
You can probably manually add it into the buildTree function. Something like this:
That would be:
Code:
timestamp: 1661850816
commitment: 0x0327e815deb9e90c88860561147d661905b28853fd996f0add1769b00226d0d4
leafIndex: 51577
blockNumber: 15433561
transactionHash: 0xd20351a0e2a9a3f40cb1f55236b30185184587b05551e5e4399c4dbf7aa3ca95
You can probably manually add it into the buildTree function. Something like this:
Code:
const index = eventsData.events.findIndex((e) => e.leafIndex === 51576)
eventsData.events.splice(index + 1, 0, {
timestamp: '1661850816',
commitment: '0x0327e815deb9e90c88860561147d661905b28853fd996f0add1769b00226d0d4',
leafIndex: 51577,
blockNumber: 15439539,
transactionHash: '0xd20351a0e2a9a3f40cb1f55236b30185184587b05551e5e4399c4dbf7aa3ca95'
})
Wow thanks, this worked!
why is this transaction not returned from the RPC though? Ive tried numerous RPCs, and no matter what, the list of transactions is always missing this one.