Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/lucid/src/types/types.ts>Provider

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
Go to Latest
interface Provider
import { type Provider } from "https://deno.land/x/lucid@0.5.2/src/types/types.ts";

Properties

data: { [key: string]: unknown; url: string; projectId: string; }

Methods

getProtocolParameters(): Promise<ProtocolParameters>
getUtxos(address: Address): Promise<UTxO[]>
getCurrentSlot(): Promise<Slot>
getUtxosWithUnit(address: Address, unit: Unit): Promise<UTxO[]>
getDatum(datumHash: DatumHash): Promise<Datum>
awaitTx(txHash: TxHash): Promise<boolean>
submitTx(tx: Core.Transaction): Promise<TxHash>