@safik/fk-plug-controller
Version:
Internet Computer Plug wallet's controller
18 lines (17 loc) • 475 B
TypeScript
export declare const MILI_PER_SECOND = 1000000;
export interface InferredTransaction {
hash: string;
timestamp: bigint;
type: string;
details?: {
[key: string]: any;
};
caller: string;
}
export interface GetTransactionsResponse {
total: number;
transactions: InferredTransaction[];
}
export declare const getICPTransactions: (accountId: string) => Promise<GetTransactionsResponse>;
declare const _default: {};
export default _default;