UNPKG

@ledgerhq/coin-filecoin

Version:
33 lines 1.06 kB
import type { CommonDeviceTransactionField } from "@ledgerhq/coin-framework/transaction/common"; import type { Account, AccountLike } from "@ledgerhq/types-live"; import type { Transaction, TransactionStatus } from "../types"; export type ExtraDeviceTransactionField = { type: "filecoin.gasFeeCap"; label: string; value: string; } | { type: "filecoin.gasPremium"; label: string; value: string; } | { type: "filecoin.gasLimit"; label: string; value: string; } | { type: "filecoin.method"; label: string; value: string; } | { type: "filecoin.recipient"; label: string; value: string; }; 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