@bithomp/xrpl-api
Version:
A Bithomp JavaScript/TypeScript library for interacting with the XRP Ledger
14 lines (13 loc) • 693 B
TypeScript
import { LedgerIndex } from "../models/ledger";
import { AccountOffers } from "../models/account_offers";
import { ErrorResponse } from "../models/base_model";
import { FormattedAccountOrders } from "../parse/ledger/account-order";
export interface GetAccountOffers {
ledgerIndex?: LedgerIndex;
limit?: number;
marker?: any;
legacy?: boolean;
formatted?: boolean;
}
export declare function getAccountOffers(account: string, options?: GetAccountOffers): Promise<AccountOffers | FormattedAccountOrders | ErrorResponse>;
export declare function getAccountAllOffers(account: string, options?: GetAccountOffers): Promise<AccountOffers | FormattedAccountOrders | ErrorResponse>;