Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lucid/src/mod.ts>TxComplete#partialSignWithPrivateKey

Lucid is a library, which allows you to create Cardano transactions and off-chain code for your Plutus contracts in JavaScript, Deno and Node.js.
Go to Latest
method TxComplete.prototype.partialSignWithPrivateKey
Re-export
import { TxComplete } from "https://deno.land/x/lucid@0.10.6/src/mod.ts";

Sign the transaction and return the witnesses that were just made. Add an extra signature from a private key.

Parameters

privateKey: PrivateKey

Returns

TransactionWitnesses