I have written a function that takes multiple wallet/account address, token address & block number, then it prepares a multicall & call the function. For recent block numbers I get the proper result but for block number which are old like block numbers from 2017 or 2018 it gives below error. If I make the same contract function call via curl with eth_call method it works as expected.
I am getting error till block number 7256659 on ethereum.
Error Message I received:
Node Multicall Service | multicall chunck failed: Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
Node Multicall Service | multicall chunck failed: Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
Node Multicall Service | multicall chunck failed: Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
Node Multicall Service | {"level":50,"time":1680943876211,"pid":100079,"hostname":"ulap165","err":{"type":"Error","message":"multicall: retries exceeded","stack":"Error: multicall: retries exceeded\n at Object.<anonymous> (/home/ulap165/workspace/space_and_time/repo/eventx/blockchain-indexing-eventx/eventx_sidecar/multicall/node_modules/@1inch/multicall/multicall.helpers.js:75:15)\n at Generator.throw (<anonymous>)\n at rejected (/home/ulap165/workspace/space_and_time/repo/eventx/blockchain-indexing-eventx/eventx_sidecar/multicall/node_modules/tslib/tslib.js:165:69)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)"},"msg":"multicall: retries exceeded"}
I have written a function that takes multiple wallet/account address, token address & block number, then it prepares a multicall & call the function. For recent block numbers I get the proper result but for block number which are old like block numbers from 2017 or 2018 it gives below error. If I make the same contract function call via curl with eth_call method it works as expected.
I am getting error till block number 7256659 on ethereum.
Error Message I received:
Sample code that I have written:
Curl command for eth_call method: