import { Lucid } from "https://deno.land/x/lucid@0.5.2/src/mod.ts";
Methods
awaitTx(txHash: TxHash): Promise<boolean>
currentSlot(): Promise<Slot>
datumOf(utxo: UTxO): Promise<Datum>
fromTx(tx: Transaction)
newTx(): Tx
selectWallet(api: WalletApi)
selectWalletFrom(unnamed 0: ExternalWallet)
Emulates a CIP30 wallet by constructing it with the UTxOs, collateral and addresses.
If utxos are not set, utxos are fetched from the provided address
selectWalletFromPrivateKey(privateKey: PrivateKey)
Cardano Private key in bech32; not the BIP32 private key or any key that is not fully derived
utxosAt(address: Address): Promise<UTxO[]>
utxosAtWithUnit(address: Address, unit: Unit): Promise<UTxO[]>
Static Methods
new(provider?: Provider, network?: Network)