CCC Docs
    Preparing search index...

    Function createDidCkb

    • Create a DID CKB cell.

      Parameters

      • props: {
            signer: Signer;
            data: DidCkbDataLike;
            receiver?: ScriptLike | null;
            tx?: TransactionLike | null;
        }

        The arguments for creating the cell.

        • signer: Signer

          The signer to sign the transaction.

        • data: DidCkbDataLike

          The output data.

        • Optionalreceiver?: ScriptLike | null

          The receiver script (optional).

        • Optionaltx?: TransactionLike | null

          The transaction skeleton (optional).

      Returns Promise<{ tx: Transaction; id: `0x${string}`; index: number }>