user-79927

Returns the latest instructions on Solana, where program address is 6EF8rr…wF6P or pAMMBa…fXEA and program method is migrate or create_pool: block time, accounts address, program address, method and account names.

By Kshitij Mahajan · saved 13 April 2026 · Bitquery API v2

What it returns

Filters

The query

query($limit: Int!, $since: DateTime) {
  Solana(dataset: realtime) {
    Instructions(
      limit: { count: $limit }
      orderBy: { descending: Block_Time }
      where: {
        Block: { Time: { since: $since } }
        Instruction: {
          Program: {
            Address: { in: ["6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P", "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"] }
            Method: { in: ["migrate", "create_pool"] }
          }
        }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Block { Time }
      Instruction { Accounts { Address } Program { Address Method AccountNames}  }
    }
  }
}

Similar queries