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

    Type declaration

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

        Parameters

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

          The arguments for destroying the cell.

          • client: Client

            The client to communicate with CKB.

          • id: BytesLike

            The Type ID to destroy.

          • Optionaltx?: null | TransactionLike

            The transaction skeleton (optional).

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