Bags.fm token creation using Solana token supply updates

Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: Solana(dataset: combined) archive full history combined archive + realtime in one result Archive and c

By gaurav · saved 21 August 2025 · run 4 times · Bitquery API v2

What it returns

Filters

The query

# Historical data
#   This query uses the realtime dataset (the default), which holds only a
#   recent window - hours to days depending on the cube.
#
#   For older data add a dataset to the top-level element:
#
#     Solana(dataset: combined)
#
#     archive   full history
#     combined  archive + realtime in one result
#
#   Archive and combined need the historical data add-on:
#   https://bitquery.io/pricing
#
# Datasets:  https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#

{
  Solana {
    TokenSupplyUpdates(
      where: {Instruction: {Program: {Address: {is: "dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN"}, Method: {is: "initialize_virtual_pool_with_spl_token"}}}, Transaction: {Signer: {is: "BAGSB9TpGrZxQbEsrEznv5jXXdwyP6AXerN8aVRiAmcv"}}, TokenSupplyUpdate: {Amount: {ne: "0"}}}
      limit: {count: 20}
      orderBy: {descending: Block_Time}
    ) {
      Instruction {
        Program {
          Method
        }
      }
      TokenSupplyUpdate {
        Currency {
          Name
          Symbol
          MintAddress
          Decimals
        }
        Amount
        AmountInUSD
        PreBalance
        PreBalanceInUSD
        PostBalance
        PostBalanceInUSD
        Account {
          Address
          Owner
          Token {
            Owner
          }
        }
      }
      Block {
        Time
        Height
      }
      Instruction {
        Program {
          Address
          Method
        }
      }
      Transaction {
        Signature
        Signer
      }
    }
  }
}

Similar queries