You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

accountOffers.d.ts 819B

123456789101112131415161718192021222324252627282930
  1. import { Amount, LedgerIndex } from '../common';
  2. import { BaseRequest, BaseResponse } from './baseMethod';
  3. export interface AccountOffersRequest extends BaseRequest {
  4. command: 'account_offers';
  5. account: string;
  6. ledger_hash?: string;
  7. ledger_index?: LedgerIndex;
  8. limit?: number;
  9. marker?: unknown;
  10. strict?: boolean;
  11. }
  12. export interface AccountOffer {
  13. flags: number;
  14. seq: number;
  15. taker_gets: Amount;
  16. taker_pays: Amount;
  17. quality: string;
  18. expiration?: number;
  19. }
  20. export interface AccountOffersResponse extends BaseResponse {
  21. result: {
  22. account: string;
  23. offers?: AccountOffer[];
  24. ledger_current_index?: number;
  25. ledger_index?: number;
  26. ledger_hash?: string;
  27. marker?: unknown;
  28. };
  29. }
  30. //# sourceMappingURL=accountOffers.d.ts.map