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

    Function assertValidServerUnrollScript

    • Decode and validate a server-supplied checkpointTapscript against policy.

      Every offchain send/claim builds its checkpoint outputs' server-claim leaf straight from this script — undecodable, sub-floor or wrong-pubkey values let the operator sweep an in-flight checkpoint before it settles. This is the sole gate: callers must use the returned script rather than decoding their own copy.

      Parameters

      Returns CSVMultisigTapscript.Type

      if the script fails to decode, its timelock is out of policy, or its pubkey does not match policy.advertisedForfeitPubkey (when set).