UNPKG

@ledgerhq/coin-stacks

Version:
22 lines 876 B
import type { CommonDeviceTransactionField } from "@ledgerhq/coin-framework/transaction/common"; import type { Account, AccountLike } from "@ledgerhq/types-live"; import { BigNumber } from "bignumber.js"; import type { Transaction, TransactionStatus } from "../types"; export type ExtraDeviceTransactionField = { type: "stacks.memo"; label: string; value: string; } | { type: "stacks.extendedAmount"; label: string; value: BigNumber; }; export type DeviceTransactionField = CommonDeviceTransactionField | ExtraDeviceTransactionField; declare function getDeviceTransactionConfig(input: { account: AccountLike; parentAccount: Account | null | undefined; transaction: Transaction; status: TransactionStatus; }): Array<DeviceTransactionField>; export default getDeviceTransactionConfig; //# sourceMappingURL=deviceTransactionConfig.d.ts.map