UNPKG

@bithomp/xrpl-api

Version:

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

17 lines (16 loc) 537 B
import { BookOffer } from '../../common/types/commands'; import { Amount, FormattedOrderSpecification } from '../../common/types/objects'; export type FormattedOrderbookOrder = { specification: FormattedOrderSpecification; properties: { maker: string; sequence: number; makerExchangeRate: string; }; state?: { fundedAmount?: Amount; priceOfFundedAmount?: Amount; }; data: BookOffer; }; export declare function parseOrderbookOrder(data: BookOffer): FormattedOrderbookOrder;