Reading Historic Block Data
Access historic block hashes from Axiom.
AxiomV1
caches historic block hashes back to genesis in a format explained here. Smart contracts can access any historic block header data in a trustless way by providing Merkle proofs into this cache.
To access this cache with the Axiom SDK, first fetch the BlockHashWitness
:
Then verify on-chain using this BlockHashWitness
:
Last updated