index.d.ts 514 B

123456789101112131415161718
  1. import { Storage } from './storage';
  2. import { IWebClient } from './webclient';
  3. export declare class BankClient {
  4. private urlBase;
  5. private storage;
  6. private webClient;
  7. private privateKey;
  8. private bootstrapPromise;
  9. private bootstrapResult;
  10. constructor(urlBase: string, storage: Storage, webClient: IWebClient);
  11. getPub(): Promise<string>;
  12. bootstrap(): any;
  13. getNonce(): Promise<number>;
  14. getBalance(): Promise<object>;
  15. private getPriv;
  16. private makePlaintextPayload;
  17. }