radix query

Streams token supply updates and DEX pools on Solana as they happen, where program address is 6EF8rr…wF6P, DEX program address is 6EF8rr…wF6P and quote currency mint address is 111111…1111: currency symbol, currency name, currency mint address, URI, base currency mint address, base currency name, base currency symbol and 6 more fields.

By gaurav · saved 10 January 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    newTokens: TokenSupplyUpdates(
      where: {Instruction: {Program: {Address: {is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}, Method: {is: "create"}}}}
    ) {
      TokenSupplyUpdate {
        Currency {
          Symbol
          Name
          MintAddress
          Uri
        }
      }
    }
    aboutToGraduate: DEXPools(
      where: {Pool: {Base: {PostAmount: {gt: "209571750", lt: "246555000"}}, Dex: {ProgramAddress: {is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}}, Market: {QuoteCurrency: {MintAddress: {is: "11111111111111111111111111111111"}}}}, Transaction: {Result: {Success: true}}}
    ) {
      Pool {
        Market {
          BaseCurrency {
            MintAddress
            Name
            Symbol
            Uri
          }
        }
        Base {
          PostAmount
        }
        Quote {
          PriceInUSD
          PostAmount
          PostAmountInUSD
        }
      }
    }
    graduated: Instructions(
      where: {Instruction: {Program: {Method: {is: "initialize2"}}}, Transaction: {Signer: {is: "39azUYFWPz3VHgKCf3VChUwbpURdCHRxjWVowf5jUJjg"}}}
    ) {
      Instruction {
        Program {
          Arguments {
            Name
            Value {
              ... on Solana_ABI_Address_Value_Arg {
                address
              }
            }
          }
        }
      }
    }
  }
}

Similar queries