@ledgerhq/coin-casper
Version:
Ledger Casper integration
23 lines • 942 B
TypeScript
import { Account, Operation, TransactionCommon, TransactionCommonRaw, TransactionStatusCommon, TransactionStatusCommonRaw } from "@ledgerhq/types-live";
import BigNumber from "bignumber.js";
import { ExtraDeviceTransactionField } from "../bridge/deviceTransactionConfig";
type FamilyType = "casper";
export type CasperAccount = Account;
export type Transaction = TransactionCommon & {
family: FamilyType;
fees: BigNumber;
transferId?: string | undefined;
};
export type CasperOperation = Operation<CasperOperationExtra>;
interface CasperOperationExtra {
transferId?: string | undefined;
}
export type TransactionRaw = TransactionCommonRaw & {
family: FamilyType;
transferId?: string | undefined;
fees: string;
};
export type TransactionStatus = TransactionStatusCommon;
export type TransactionStatusRaw = TransactionStatusCommonRaw;
export type { ExtraDeviceTransactionField };
//# sourceMappingURL=common.d.ts.map