CCC Docs
    Preparing search index...
    destroyTypeId: (
        this: void,
        props: { client: Client; id: BytesLike; tx?: TransactionLike | null },
    ) => Promise<{ tx: Transaction; index: number }>

    Type Declaration

      • (
            this: void,
            props: { client: Client; id: BytesLike; tx?: TransactionLike | null },
        ): Promise<{ tx: Transaction; index: number }>
      • Destroy a Type ID cell.

        Parameters

        • this: void
        • props: { client: Client; id: BytesLike; tx?: TransactionLike | null }

          The arguments for destroying the cell.

          • client: Client

            The client to communicate with CKB.

          • id: BytesLike

            The Type ID to destroy.

          • Optionaltx?: TransactionLike | null

            The transaction skeleton (optional).

        Returns Promise<{ tx: Transaction; index: number }>