UNPKG

708 BTypeScriptView Raw
1import { RecoveryAccountData, RecoveryUnspent, RecoveryProvider } from './types';
2import { BitGo } from '../../bitgo';
3export declare class BlockchairApi implements RecoveryProvider {
4 protected readonly bitgo: BitGo;
5 protected readonly apiToken?: string;
6 protected readonly coin: string;
7 constructor(bitgo: BitGo, coin: string, apiToken?: string);
8 static getBaseUrl(env: string, coin: string): string;
9 /** @inheritdoc */
10 getExplorerUrl(query: string): string;
11 /** @inheritDoc */
12 getAccountInfo(address: string): Promise<RecoveryAccountData>;
13 /** @inheritDoc */
14 getUnspents(address: string): Promise<RecoveryUnspent[]>;
15}
16//# sourceMappingURL=blockchairApi.d.ts.map
\No newline at end of file