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.

bookOffers.d.ts 898B

1234567891011121314151617181920212223242526272829303132
  1. import { Amount, LedgerIndex } from '../common';
  2. import { Offer } from '../ledger';
  3. import { BaseRequest, BaseResponse } from './baseMethod';
  4. export interface TakerAmount {
  5. currency: string;
  6. issuer?: string;
  7. }
  8. export interface BookOffersRequest extends BaseRequest {
  9. command: 'book_offers';
  10. ledger_hash?: string;
  11. ledger_index?: LedgerIndex;
  12. limit?: number;
  13. taker?: string;
  14. taker_gets: TakerAmount;
  15. taker_pays: TakerAmount;
  16. }
  17. export interface BookOffer extends Offer {
  18. owner_funds?: string;
  19. taker_gets_funded?: Amount;
  20. taker_pays_funded?: Amount;
  21. quality?: string;
  22. }
  23. export interface BookOffersResponse extends BaseResponse {
  24. result: {
  25. ledger_current_index?: number;
  26. ledger_index?: number;
  27. ledger_hash?: string;
  28. offers: BookOffer[];
  29. validated?: boolean;
  30. };
  31. }
  32. //# sourceMappingURL=bookOffers.d.ts.map