From 4202979557f1d31ddaa7c668f1125d24b2acca51 Mon Sep 17 00:00:00 2001 From: Rory Brown Date: Wed, 13 Nov 2024 17:41:45 +0000 Subject: [PATCH] chore: update types for status response fee info --- src/api.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/api.ts b/src/api.ts index 42f0370..3085735 100644 --- a/src/api.ts +++ b/src/api.ts @@ -1,7 +1,7 @@ import type { BridgeDefinition } from './bridges.js' import type { Chain, ChainId, ChainKey, ChainType } from './chains/index.js' import type { ExchangeDefinition } from './exchanges.js' -import type { Action, Estimate, LiFiStep, StepToolDetails } from './step.js' +import type { Action, FeeCost, LiFiStep, StepToolDetails } from './step.js' import type { Token } from './tokens/index.js' /** @@ -517,15 +517,11 @@ export type IncludedStep = { toolDetails: StepToolDetails } -export type StatusStepTransaction = { - estimate: Estimate -} - export interface FullStatusData extends StatusData { transactionId: string - stepTransaction?: StatusStepTransaction sending: ExtendedTransactionInfo receiving: PendingReceivingInfo | ExtendedTransactionInfo + feeCosts: FeeCost[] lifiExplorerLink: string fromAddress: string toAddress: string