verifyStateProof method

bool verifyStateProof(
  1. Uint8List stateRoot,
  2. Uint8List proof
)

Whether a state inclusion proof holds under a 32 byte state root.

Implementation

bool verifyStateProof(Uint8List stateRoot, Uint8List proof) =>
    _verify('aviary_verify_state_proof', stateRoot, proof);