Skip to content

Commit

Permalink
chore: update types for status response fee info
Browse files Browse the repository at this point in the history
  • Loading branch information
rory660 committed Nov 13, 2024
1 parent 5d9d463 commit 4202979
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/api.ts
Original file line number Diff line number Diff line change
@@ -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'

/**
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4202979

Please sign in to comment.