UNPKG

@bithomp/xrpl-api

Version:

A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger

29 lines (28 loc) 718 B
import { FormattedIssuedCurrencyAmount } from "./amounts"; import { Adjustment, MaxAdjustment, MinAdjustment } from "./adjustments"; export type LaxLaxAmount = { currency: string; value?: string; issuer?: string; counterparty?: string; }; export type Path = { source: Adjustment | MaxAdjustment; destination: Adjustment | MinAdjustment; paths: string; }; export type GetPaths = Path[]; export type PathFind = { source: { address: string; amount?: FormattedIssuedCurrencyAmount; currencies?: { currency: string; counterparty?: string; }[]; }; destination: { address: string; amount: LaxLaxAmount; }; };