CCC Docs
    Preparing search index...

    Function createDidCkb

    • Create a DID CKB cell.

      Parameters

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

        The arguments for creating the cell.

        • signer: Signer

          The signer to sign the transaction.

        • data: DidCkbDataLike

          The output data.

        • Optionalreceiver?: null | ScriptLike

          The receiver script (optional).

        • Optionaltx?: null | TransactionLike

          The transaction skeleton (optional).

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