123456789101112131415161718192021222324252627282930 |
- import { Amount, LedgerIndex } from '../common';
- import { BaseRequest, BaseResponse } from './baseMethod';
- export interface AccountOffersRequest extends BaseRequest {
- command: 'account_offers';
- account: string;
- ledger_hash?: string;
- ledger_index?: LedgerIndex;
- limit?: number;
- marker?: unknown;
- strict?: boolean;
- }
- export interface AccountOffer {
- flags: number;
- seq: number;
- taker_gets: Amount;
- taker_pays: Amount;
- quality: string;
- expiration?: number;
- }
- export interface AccountOffersResponse extends BaseResponse {
- result: {
- account: string;
- offers?: AccountOffer[];
- ledger_current_index?: number;
- ledger_index?: number;
- ledger_hash?: string;
- marker?: unknown;
- };
- }
- //# sourceMappingURL=accountOffers.d.ts.map
|