diff --git a/packages/connect/src/types/fees.ts b/packages/connect/src/types/fees.ts index a94d0356702..2899771217a 100644 --- a/packages/connect/src/types/fees.ts +++ b/packages/connect/src/types/fees.ts @@ -8,7 +8,8 @@ export const FeeInfo = Type.Object({ dustLimit: Type.Number(), }); -const PriorityFeeEstimationDetails = Type.Object({ +export type PriorityFeeEstimationDetails = Static; +export const PriorityFeeEstimationDetails = Type.Object({ maxFeePerGas: Type.String(), maxPriorityFeePerGas: Type.String(), maxWaitTimeEstimate: Type.Number(), diff --git a/suite-common/wallet-types/src/transaction.ts b/suite-common/wallet-types/src/transaction.ts index 845be27bcd2..59e52c96171 100644 --- a/suite-common/wallet-types/src/transaction.ts +++ b/suite-common/wallet-types/src/transaction.ts @@ -66,6 +66,7 @@ export interface FeeInfo { dustLimit?: number; // coin dust limit feeLimit?: number; // eth gas limit levels: FeeLevel[]; // fee levels are predefined in @trezor/connect > trezor-firmware/common + priorityFees?: FeeLevel['eip1559']; } export type NetworksFees = Record;