1 | import { UnspentInfo } from '../coins/abstractUtxoCoin';
|
2 |
|
3 |
|
4 |
|
5 | export interface RecoveryUnspent extends UnspentInfo {
|
6 | amount: number;
|
7 | n: number;
|
8 | txid: string;
|
9 | address: string;
|
10 | }
|
11 |
|
12 |
|
13 |
|
14 | export interface RecoveryAccountData {
|
15 | txCount: number;
|
16 | totalBalance: number;
|
17 | }
|
18 |
|
19 |
|
20 |
|
21 | export interface RecoveryProvider {
|
22 | getExplorerUrl(query: string): string;
|
23 | getAccountInfo(address: string): Promise<RecoveryAccountData>;
|
24 | getUnspents(address: string): Promise<RecoveryUnspent[]>;
|
25 | }
|
26 |
|
\ | No newline at end of file |