Copy of merged using any

Returns the latest instructions on Solana: block time, block date, block height and count.

By Aleksey · saved 28 April 2025 · run 3 times · Bitquery API v2

What it returns

The query

query {
  Solana {
    Instructions(
      orderBy: {
        descending: Block_Time
      }
      where: {
        any: [
          {
            Transaction: { Result: { Success: true } },
            Instruction: { 
              Program: { 
                Method: { is: "initializeUserWithNonce" }, 
                Address: { is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8" } 
              } 
            }
          },
          {
            Instruction: { 
              CallerIndex: { eq: 2 }, 
              Depth: { eq: 1 }, 
              CallPath: { includes: { eq: 2 } }, 
              Program: { 
                Method: { is: "create_pool" }, 
                Address: { is: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA" } 
              } 
            }
          }
        ]
      }
    ) {
      Block {
        Time
        Date
        Height
      }
      count
    }
  }
}

Similar queries