Skip to content

Commit

Permalink
Add basePoolAddress prop to getPools endpoints
Browse files Browse the repository at this point in the history
philippe-git committed Nov 14, 2023
1 parent d8564c2 commit 5ae1901
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/api/getPools/index.js
Original file line number Diff line number Diff line change
@@ -1260,6 +1260,7 @@ const getPools = async ({ blockchainId, registryId, preventQueryingFactoData })
})),
usdTotal,
isMetaPool,
basePoolAddress: (isMetaPool ? underlyingPool.address : undefined),
underlyingDecimals: (isMetaPool ? poolInfo.underlyingDecimals : undefined),
underlyingCoins,
usdTotalExcludingBasePool,

1 comment on commit 5ae1901

@vercel
Copy link

@vercel vercel bot commented on 5ae1901 Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.