UNPKG

@meshsdk/mesh-csl

Version:

Cardano Off-chain Code APIs built on cardano-serialization-lib

12 lines (11 loc) 792 B
import { AddressUTXO, BlockFrostOutput } from './types'; export declare const getOutputLovelace: <T extends { amount?: { unit?: string | undefined; quantity?: string | undefined; }[] | undefined; }>(output: T) => string; export declare const locateUTxOWithAddress: <T extends BlockFrostOutput | AddressUTXO>(output: T[], targetAddress: string) => T | undefined; export declare const locateUTxOWithPolicyId: <T extends BlockFrostOutput | AddressUTXO>(output: T[], targetPolicyId: string) => T | undefined; export declare const locateUTxOWithAddressAndPolicyId: <T extends BlockFrostOutput | AddressUTXO>(output: T[], targetAddress: string, targetPolicyId: string) => T | undefined; export declare const serializeBFUTxO: (bfData: AddressUTXO[]) => [string[], string[]];