Can Moralis.web3ByChain use archive node somehow?

Hi, like in above title.

When I try to get the response from the contract passing blockNumber as parameter on web3 instance created using Moralis.web3ByChain(chainIdHex) I get following error:

Returned error: missing trie node d963ad85440c4dda73bfd57651676b725b5e74505235b787b8acaa28315e307e (path )

Can I set this instance somehow to use archive node? I have to get some informations from the past and obviously the node I am asking the data for is not having those data.

Thanks in advance

you can set a custom RPC node:

1 Like

I know that you guys have more important features to address, but as moralis advertise it self as crosschain dapp development tool it would be great to intergrate archive node as a setting option to this method Moralis.web3ByChain(chainIdHex).

Thanks for helping me out @cryptokid