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.

accountObjects.d.ts 1.1KB

1234567891011121314151617181920212223242526272829
  1. import { LedgerIndex } from '../common';
  2. import { Check, DepositPreauth, Escrow, Offer, PayChannel, RippleState, SignerList, Ticket } from '../ledger';
  3. import { BaseRequest, BaseResponse } from './baseMethod';
  4. type AccountObjectType = 'check' | 'deposit_preauth' | 'escrow' | 'nft_offer' | 'offer' | 'payment_channel' | 'signer_list' | 'state' | 'ticket';
  5. export interface AccountObjectsRequest extends BaseRequest {
  6. command: 'account_objects';
  7. account: string;
  8. type?: AccountObjectType;
  9. deletion_blockers_only?: boolean;
  10. ledger_hash?: string;
  11. ledger_index?: LedgerIndex;
  12. limit?: number;
  13. marker?: unknown;
  14. }
  15. type AccountObject = Check | DepositPreauth | Escrow | Offer | PayChannel | SignerList | RippleState | Ticket;
  16. export interface AccountObjectsResponse extends BaseResponse {
  17. result: {
  18. account: string;
  19. account_objects: AccountObject[];
  20. ledger_hash?: string;
  21. ledger_index?: number;
  22. ledger_current_index?: number;
  23. limit?: number;
  24. marker?: string;
  25. validated?: boolean;
  26. };
  27. }
  28. export {};
  29. //# sourceMappingURL=accountObjects.d.ts.map