Skip to main content
Module

x/lucid/mod.ts>WalletApi

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.
Very Popular
Latest
type alias WalletApi
Re-export
import { type WalletApi } from "https://deno.land/x/lucid@0.10.7/mod.ts";
definition: { experimental: { getCollateral(): Promise<string[]>; on(eventName: string, callback: (...args: unknown[]) => void): void; off(eventName: string, callback: (...args: unknown[]) => void): void; }; getNetworkId(): Promise<number>; getUtxos(): Promise<string[] | undefined>; getBalance(): Promise<string>; getUsedAddresses(): Promise<string[]>; getUnusedAddresses(): Promise<string[]>; getChangeAddress(): Promise<string>; getRewardAddresses(): Promise<string[]>; signTx(tx: string, partialSign: boolean): Promise<string>; signData(address: string, payload: string): Promise<{ signature: string; key: string; }>; submitTx(tx: string): Promise<string>; getCollateral(): Promise<string[]>; }