class Maestro
implements Provider
import { Maestro } from "https://deno.land/x/lucid@0.10.10/src/mod.ts";
Constructors
new
Maestro(unnamed 0: MaestroConfig)Methods
private
commonHeaders()private
getAllPagesData<T>(getResponse: (qry: string) => Promise<Response>,
qry: string,
paramsGiven: URLSearchParams,
errorMsg: string,
private
getUtxosInternal(addressOrCredential: Address | Credential, unit?: Unit): Promise<UTxO[]>private
maestroUtxoToUtxo(result: MaestroUtxo): UTxOgetDelegation(rewardAddress: RewardAddress): Promise<Delegation>
getProtocolParameters(): Promise<ProtocolParameters>
getUtxoByUnit(unit: Unit): Promise<UTxO>
getUtxos(addressOrCredential: Address | Credential): Promise<UTxO[]>
getUtxosByOutRef(outRefs: OutRef[]): Promise<UTxO[]>
getUtxosWithUnit(addressOrCredential: Address | Credential, unit: Unit): Promise<UTxO[]>
submitTx(tx: Transaction): Promise<TxHash>