UNPKG

@bithomp/xrpl-api

Version:

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

21 lines (20 loc) 647 B
export interface IssuedCurrency { currency: string; issuer?: string; } export interface FormattedIssuedCurrency { currency: string; counterparty?: string; } export interface IssuedCurrencyAmount extends IssuedCurrency { value: string; } export interface FormattedIssuedCurrencyAmount extends FormattedIssuedCurrency { value: string; } export interface FormattedIssuedMPTAmount { mpt_issuance_id?: string; value: string; } export type Amount = IssuedCurrencyAmount | FormattedIssuedMPTAmount | string; export type FormattedAmount = IssuedCurrency | FormattedIssuedCurrencyAmount | FormattedIssuedMPTAmount | string;