Is there a way to know whether the node you are querying is a full or an archive node? For example, assume you want to query the chain state at block 1000 for analytical purposes, to do this you need an archive node rather than a full node.

One differentiating characteristic I can see is database size. But I am unsure of a practical way to do this when writing code to query the chain state at a particular block.

1 Answer 1


I don't believe there is a specific RPC that exposes this config information as to RPC pruning state.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.