UNPKG

@bithomp/xrpl-api

Version:

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

18 lines (17 loc) 968 B
import { FormattedBaseSpecification } from "./specification"; import { IssuedCurrencyAmount, FormattedIssuedCurrencyAmount, FormattedIssuedMPTAmount } from "./amounts"; import { FormattedSourceAddress, FormattedDestinationAddress } from "./account"; export type FormattedCheckCancelSpecification = { checkID: string; } & FormattedBaseSpecification; export type FormattedCheckCashSpecification = { checkID: string; amount?: IssuedCurrencyAmount | FormattedIssuedCurrencyAmount | FormattedIssuedMPTAmount | string; deliverMin?: IssuedCurrencyAmount | FormattedIssuedCurrencyAmount | FormattedIssuedMPTAmount | string; } & FormattedBaseSpecification; export type FormattedCheckCreateSpecification = { source?: FormattedSourceAddress; destination?: FormattedDestinationAddress; sendMax?: IssuedCurrencyAmount | FormattedIssuedCurrencyAmount | FormattedIssuedMPTAmount | string; expiration?: string | number; } & FormattedBaseSpecification;