AviaryProofs extension

Light client verification of proofs and certificates.

on

Methods

verifyCommit(int chainId, Uint8List validatorSet, Uint8List cert) → bool

Available on Aviary, provided by the AviaryProofs extension

Whether a commit certificate is valid under an encoded validator set. Malformed input yields false.
verifyStateProof(Uint8List stateRoot, Uint8List proof) → bool

Available on Aviary, provided by the AviaryProofs extension

Whether a state inclusion proof holds under a 32 byte state root.
verifyTxInclusion(Uint8List txRoot, Uint8List proof) → bool

Available on Aviary, provided by the AviaryProofs extension

Whether a transaction inclusion proof holds under a 32 byte tx root.