test-ic-wallet-middleware-icrc
Version:
Ic middleware wallet ICRC protocol
21 lines (20 loc) • 524 B
TypeScript
import { SubAccountId } from "../../types/assets";
import { OperationStatusEnum, TransactionTypeEnum } from "../../types/enums";
export interface TransactionModel {
idx: string;
hash: string;
timestamp: number;
from: string;
fromSub: SubAccountId;
to: string;
toSub: SubAccountId;
fee: bigint;
amount: bigint;
canisterId: string;
status: OperationStatusEnum;
type: TransactionTypeEnum;
symbol: string;
identityTo: string;
identityFrom: string;
kind: string;
}