Filter by arg does not work

Returns instructions on Solana, where program address is BetUrF…bx7V and program method is bet, sorted by block slot: logs, accounts address, integer, string, value address, big integer, hex and 7 more fields.

By Aleksey · saved 17 July 2024 · run 12 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    Instructions(
      orderBy: {ascending: Block_Slot}
      where: {Instruction: {
        
        Program: {
          Arguments: {
            includes: {
              Name: {is: "amount"}
              Value: {
                BigInteger: {
                  eq: "1400"
                }
              }
            }
          }
        Method: {is: "bet"}
        Address: {is: "BetUrFrUpueA1Knm4pca6pKdBK6apXrAWotPJ6sibx7V"}}}}) {
      Instruction {
        Logs
        
        Accounts {
          Address
        }
        Program {
          Arguments {
            Value {
              ... on Solana_ABI_Integer_Value_Arg {
                integer
              }
              ... on Solana_ABI_String_Value_Arg {
                string
              }
              ... on Solana_ABI_Address_Value_Arg {
                address
              }
              ... on Solana_ABI_BigInt_Value_Arg {
                bigInteger
              }
              ... on Solana_ABI_Bytes_Value_Arg {
                hex
              }
              ... on Solana_ABI_Boolean_Value_Arg {
                bool
              }
              ... on Solana_ABI_Float_Value_Arg {
                float
              }
              ... on Solana_ABI_Json_Value_Arg {
                json
              }
            }
            Name
            Type
          }
          Address
          Method
        }
      }
    }
  }
}

Similar queries