Skip to content

Commit

Permalink
include doublecounted in stablecoins api
Browse files Browse the repository at this point in the history
  • Loading branch information
mintdart committed Feb 20, 2025
1 parent 520c16e commit 75a7b2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/getStablecoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ export async function craftProtocolsResponse(
chainCirculating[a].current[pegType]
),
} as any;
if (pegged.doublecounted) {
dataToReturn.doublecounted = true;
}
if (getPrices) {
dataToReturn.price = prices[pegged.gecko_id] ?? null;
}
Expand Down

0 comments on commit 75a7b2f

Please sign in to comment.