Skip to content

Commit

Permalink
Merge pull request #238 from lifinance/feat/LF-8106-types-for-analyti…
Browse files Browse the repository at this point in the history
…cs-summary-endpoint

feat: add endpoint interface types for /analytics/transfers/summary (…
  • Loading branch information
jamado95 authored May 22, 2024
2 parents f165e46 + 279538f commit c8c0c89
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,3 +567,17 @@ export enum IntegratorFeeType {
FIXED = 'FIXED',
SHARED = 'SHARED',
}

export type TransferSummary = {
id: {
toAddress: string
sendingChainId?: number
}
totalReceivedAmount: number
}

export interface TransferSummariesResponse {
token: string
receivingChainId: number
summaries: TransferSummary[]
}

0 comments on commit c8c0c89

Please sign in to comment.