Subgraph Query Examples

Subgraph queries will only return 1000 records at a time. If you require more than 1000 records you can use the first:1000 and skip:0 pattern to loop through requests.

Protocol Data

Protocol Totals

{
  configs {
    collectionCount
    volumeETH
    totalUsers
    totalFeesETH
  }
}
  • collectionCount : Number of tokens that have been launched on the Flaunch Protocol

  • volumeETH : Total volume of ETH on the Flaunch Protocolin WEI.

  • totalUsers : Number of unique wallets that have transacted on Flaunch (created or traded a token).

  • totalFeesEth : The amount of fees generated for the protocol in WEI

Collection Tokens (Memecoins)

All Meme Coins

Return all the Meme coins that have been created on the Flaunch protocol.

  • id Meme Coin Contract Address

  • name Meme Coin Name

  • symbol Symbol for the memecoin, i.e. FLNCHY

  • baseURI ipfs location for the metadata, which also contains the logoHash

  • createdAt unixTimestamp for the time the coin was created

  • creator.id address of the Meme Coin creator

  • owner.id owner of the Meme Coin

  • marketCapETH current market cap of the token in 1e18

  • volumeETH total volume for the token in ETH

  • totalHolders unique wallets that are currently holding the token

  • fairlaunch

    • initialSupply - number of tokens available to buy during the fair launch period

    • active boolean as to whether the fair launch is in progress or has finished

    • starts_at unixTimestamp when users are able to start buying the token in fair launch

    • ends_at unixTimestamp when the fair launch closes. Note that the fair launch also ends once the initialsupply has sold out.

  • pool.id uniSwap V4 pool ID.

    • startingMarketCap the USD starting marketCap value in 1e6

    • startingMarketCapETH the starting ETH market cap in 1e18, based around the ETH/USD value at the time.

    • flipped boolean value defining the pool token order. false means token0 is ETH, true means token1 is ETH

    • feeAllocation

      • creator percentage of fees going to the creator of the meme coin. 7000 = 70%

      • community percentage of fees going towards buybacks (community) 3000 = 30%

All Holders for a Memecoin

Return all the user addresses and balances for a specific collection token

Users

All Holdings for a User

Last updated

Was this helpful?