getAllERC20 - don't wait for confirmation

Hey,

I’m using getAllERC20 for a project and it works great. Seems to be waiting for confirmation though before returning any new balances, is this correct?

And if so, is there a way return new balances even if they are not confirmed?

Thanks

Hi there

No as balances may change if transaction is dropped so we dont change balances until we are pretty sure the transaction won’t be dropped.

You can use “Pending” info to show changes that are coming to the balances in real time if you use the Moralis Server

Hope it helps!