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.

utils.d.ts 795B

123456789101112
  1. import BigNumber from 'bignumber.js';
  2. import { RippledAmount } from './types/objects';
  3. declare function isValidSecret(secret: string): boolean;
  4. declare function dropsToXrp(drops: BigNumber.Value): string;
  5. declare function xrpToDrops(xrp: BigNumber.Value): string;
  6. declare function toRippledAmount(amount: RippledAmount): RippledAmount;
  7. declare function convertKeysFromSnakeCaseToCamelCase(obj: any): any;
  8. declare function removeUndefined<T extends object>(obj: T): T;
  9. declare function rippleTimeToISO8601(rippleTime: number): string;
  10. declare function iso8601ToRippleTime(iso8601: string): number;
  11. export { dropsToXrp, xrpToDrops, toRippledAmount, convertKeysFromSnakeCaseToCamelCase, removeUndefined, rippleTimeToISO8601, iso8601ToRippleTime, isValidSecret };
  12. //# sourceMappingURL=utils.d.ts.map