CCC Docs
    Preparing search index...

    Function assertDaoOutputLimit

    • Asserts that a NervosDAO transaction does not exceed the 64-output limit. Auto-resolves unresolved inputs (populating CellInput.cellOutput as a side effect). Only checks when outputs > 64 AND at least one input or output has the DAO type script.

      Parameters

      • tx: Transaction

        The transaction to check

      • client: Client

        CKB client for resolving the NervosDAO script and input cell info

      Returns Promise<void>

      ErrorNervosDaoOutputLimit if limit exceeded