events = await contract.getPastEvents("Withdraw", {
filter: { _from: address },
fromBlock,
toBlock: fromBlock + 4999,
});
I try to get history transactions but sometimes work sometime error. Is it about network issue?
What is the best way to resolve this?