I’m trying to read a smart contract variable and getting an error:
Error: Returned error: project ID does not have access to archive state
How can we determine if information can be read from blockchain or ‘Archive Data’ add on is needed?
Does it mean that a variable that was changed n blocks before can be read, and n+1 block requires add on?
Hi @ageyev, check out the documentation here, https://infura.io/docs/ethereum/add-ons/archiveData, this helps explain what types of requests require Archive Data.
@mike, thank you very much !
How to gain access to an archive node?
Hi @jfdelgad and welcome to our Infura community!
Please check the following documentation -> https://infura.io/docs/ethereum/add-ons/archiveData which provides more information about how to gain access to an archive node.