CCC Docs
    Preparing search index...

    Function isDaoOutputLimitExceeded

    • Checks whether a NervosDAO transaction exceeds the 64-output limit. Returns true if the transaction is DAO-related and has more than 64 outputs. Short-circuits to false when outputs <= 64.

      Parameters

      • tx: Transaction

        The transaction to check

      • client: Client

        CKB client for resolving the NervosDAO script and input cell info

      Returns Promise<boolean>

      true if the DAO output limit is exceeded