UNPKG

@ledgerhq/coin-icon

Version:
46 lines 1.29 kB
import type { BigNumber } from "bignumber.js"; import { Account, AccountRaw, TransactionCommon, TransactionCommonRaw, TransactionStatusCommon, TransactionStatusCommonRaw, Operation } from "@ledgerhq/types-live"; /** * Icon account resources */ export type IconResources = { nonce: number; votingPower: string | BigNumber; totalDelegated: string | BigNumber; }; /** * Icon account resources from raw JSON */ export type IconResourcesRaw = { nonce: number; votingPower: string | BigNumber; totalDelegated: string | BigNumber; }; /** * Icon transaction */ export type Transaction = TransactionCommon & { mode: string; family: "icon"; fees?: BigNumber | null | undefined; stepLimit?: BigNumber; }; /** * Icon transaction from a raw JSON */ export type TransactionRaw = TransactionCommonRaw & { family: "icon"; mode: string; fees?: string | null | undefined; stepLimit?: string; }; export type IconOperation = Operation; export type IconAccount = Account & { iconResources: IconResources; }; export type IconAccountRaw = AccountRaw & { iconResources: IconResourcesRaw; }; export type TransactionStatus = TransactionStatusCommon; export type TransactionStatusRaw = TransactionStatusCommonRaw; //# sourceMappingURL=index.d.ts.map