@arkade-os/sdk Documentation - v0.5.0-rc.11
    Preparing search index...

    Function assertValidBatchExpiry

    • Check a server-supplied batch expiry against policy and return the timelock to commit to.

      The sweep leaf of the shared batch output is derived from this value, so it is never reconstructible from anything else the server sends: validating the tree only proves it is consistent with whatever value was chosen. Callers must encode the returned timelock rather than re-deriving their own.

      Parameters

      Returns RelativeTimelock

      if the value is out of policy.