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.

serverinfo.d.ts 954B

12345678910111213141516171819202122232425262728293031323334
  1. import { RippleAPI } from '..';
  2. export declare type GetServerInfoResponse = {
  3. buildVersion: string;
  4. completeLedgers: string;
  5. hostID: string;
  6. ioLatencyMs: number;
  7. load?: {
  8. jobTypes: Array<object>;
  9. threads: number;
  10. };
  11. lastClose: {
  12. convergeTimeS: number;
  13. proposers: number;
  14. };
  15. loadFactor: number;
  16. peers: number;
  17. pubkeyNode: string;
  18. pubkeyValidator?: string;
  19. serverState: string;
  20. validatedLedger: {
  21. age: number;
  22. baseFeeXRP: string;
  23. hash: string;
  24. reserveBaseXRP: string;
  25. reserveIncrementXRP: string;
  26. ledgerVersion: number;
  27. };
  28. validationQuorum: number;
  29. networkLedger?: string;
  30. };
  31. declare function getServerInfo(this: RippleAPI): Promise<GetServerInfoResponse>;
  32. declare function getFee(this: RippleAPI, cushion?: number): Promise<string>;
  33. export { getServerInfo, getFee };
  34. //# sourceMappingURL=serverinfo.d.ts.map