10 April: Subgraph and NFT API updates
Subgraph updates
A series of updates have been made to the subgraph endpoints.
positionManageraddress is now available on thepool. This allows integrations to target the rightpositionManagerwhen executing trades on the pools based on the current token.collectionnow includes thecontractto differentiatedayDatawas 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.0x0000and 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?