10 April: Subgraph and NFT API updates
Subgraph updates
A series of updates have been made to the subgraph endpoints.
positionManager
address is now available on thepool
. This allows integrations to target the rightpositionManager
when executing trades on the pools based on the current token.collection
now includes thecontract
to differentiatedayData
was incorrectly counting ETH Volume. Previously it was summing the ETH and the token value in ETH for each trade, effectively doubling the volume when looking at aggregated day data.0x0000
and Uniswap pools are now captured as holders for the token. This allows the flaunch UI to show the amount of tokens burned and held in the LP position. If you are using this for “holder counts” you may want toholderCount = holderCount - 2
NFT API Updated to support new contract
NFT details have been updated from https://api.flaunch.gg/token/{tokenId} to https://api.flaunch.gg/token/{contractAddress}/{tokenId} to accommodate the new 721 contract launch. Redirects have been included for the original endpoints so no breaking changes when hitting the previous endpoints.
Last updated
Was this helpful?