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

x/lucid/src/types/mod.ts>Wallet

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
interface Wallet
import { type Wallet } from "https://deno.land/x/lucid@0.7.7/src/types/mod.ts";

Methods

address(): Promise<Address>
rewardAddress(): Promise<RewardAddress | null>
getUtxos(): Promise<UTxO[]>
getUtxosCore(): Promise<Core.TransactionUnspentOutputs>
getDelegation(): Promise<Delegation>
signTx(tx: Core.Transaction): Promise<Core.TransactionWitnessSet>
signMessage(address: Address | RewardAddress, payload: Payload): Promise<SignedMessage>
submitTx(signedTx: Transaction): Promise<TxHash>