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.

gatewayBalances.d.ts 884B

123456789101112131415161718192021222324252627282930313233
  1. import { LedgerIndex } from '../common';
  2. import { BaseRequest, BaseResponse } from './baseMethod';
  3. export interface GatewayBalancesRequest extends BaseRequest {
  4. command: 'gateway_balances';
  5. account: string;
  6. strict?: boolean;
  7. hotwallet?: string | string[];
  8. ledger_hash?: string;
  9. ledger_index?: LedgerIndex;
  10. }
  11. interface Balance {
  12. currency: string;
  13. value: string;
  14. }
  15. export interface GatewayBalancesResponse extends BaseResponse {
  16. result: {
  17. account: string;
  18. obligations?: {
  19. [currency: string]: string;
  20. };
  21. balances?: {
  22. [address: string]: Balance[];
  23. };
  24. assets?: {
  25. [address: string]: Balance[];
  26. };
  27. ledger_hash?: string;
  28. ledger_current_index?: number;
  29. ledger_index?: number;
  30. };
  31. }
  32. export {};
  33. //# sourceMappingURL=gatewayBalances.d.ts.map