UNPKG

@ledgerhq/live-common

Version:
35 lines (32 loc) 809 B
import { TransactionCommon } from "@ledgerhq/types-live"; import BigNumber from "bignumber.js"; import type { Unit } from "@ledgerhq/types-cryptoassets"; type NetworkInfo = { fees: BigNumber; }; export type GenericTransaction = TransactionCommon & { family: string; fees?: BigNumber | null; storageLimit?: BigNumber | null; customFees?: { parameters: { fees?: BigNumber | null }; }; tag?: number | null | undefined; feeCustomUnit?: Unit | null | undefined; memoType?: string | null; memoValue?: string | null; data?: Buffer; mode?: | "send" | "changeTrust" | "send-legacy" | "send-eip1559" | "delegate" | "stake" | "undelegate" | "unstake"; type?: number; assetReference?: string; assetOwner?: string; networkInfo?: NetworkInfo | null; };