hive-keychain-commons
Version:
Platform-agnostic functions used in Hive Keychain mobile and extensions
16 lines (15 loc) • 585 B
TypeScript
import type { Operation } from '@hiveio/dhive';
export interface ExportTransactionOperation {
datetime: string;
transactionId: string;
blockNumber: number;
from?: string;
to?: string;
amount: number;
currency: string;
operationType: Operation;
}
export declare const ExportTransactionsUtils: {
fetchTransactions: (username: string, startDate?: Date, endDate?: Date, feedBack?: ((percentage: number) => void) | undefined) => Promise<ExportTransactionOperation[] | undefined>;
generateCSV: (operations: ExportTransactionOperation[]) => string;
};