check if a list of pump fun tokens have migrated to pump amm

Returns instructions on Solana, where program address is pAMMBa…fXEA, program method is create_pool and instruction caller index is 2: program address, program name, method, arguments name, arguments type, json, float and 32 more fields.

By Akshat · saved 4 December 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query($tokenList: [String!]){
  Solana {
    Instructions(
      where: {Instruction: {CallerIndex: {eq: 2}, Depth: {eq: 1}, CallPath: {includes: {eq: 2}}, Program: {Method: {is: "create_pool"}, Address: {is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"}}, Accounts: {includes: {Address: {in: $tokenList }}}}}
    ) {
      Instruction {
        Program {
          Address
          Name
          Method
          Arguments {
            Name
            Type
            Value {
              ... on Solana_ABI_Json_Value_Arg {
                json
              }
              ... on Solana_ABI_Float_Value_Arg {
                float
              }
              ... on Solana_ABI_Boolean_Value_Arg {
                bool
              }
              ... on Solana_ABI_Bytes_Value_Arg {
                hex
              }
              ... on Solana_ABI_BigInt_Value_Arg {
                bigInteger
              }
              ... on Solana_ABI_Address_Value_Arg {
                address
              }
              ... on Solana_ABI_String_Value_Arg {
                string
              }
              ... on Solana_ABI_Integer_Value_Arg {
                integer
              }
            }
          }
          AccountNames
          Json
        }
        Accounts {
          Address
          IsWritable
          Token {
            Mint
            Owner
            ProgramId
          }
        }
        Logs
        BalanceUpdatesCount
        AncestorIndexes
        CallPath
        CallerIndex
        Data
        Depth
        ExternalSeqNumber
        Index
        InternalSeqNumber
        TokenBalanceUpdatesCount
      }
      Transaction {
        Fee
        FeeInUSD
        Signature
        Signer
        FeePayer
        Result {
          Success
          ErrorMessage
        }
      }
      Block {
        Time
        Height
      }
    }
  }
}

Variables

{
  "tokenList": ["HHquU6P1amWTNQDBECzSYq3DVkBSw38XV3F8wfSEpump"]
}

Similar queries