Open Cap Table Protocol Canton SDK - v0.2.239
    Preparing search index...

    Function txWeight

    • Compute intra-day ordering weight for a transaction.

      Lower weights are processed first within the same day. This ensures domain-correct ordering: issuances before exercises, acceptances before splits, transfers before conversions, etc.

      Weights are ported from libs/api/service-ocp/utils/transactionSort.js to ensure parity between DB and Canton data processing.

      Parameters

      • tx: Record<string, unknown>

      Returns number