searching inside logs solana

Returns instructions on Solana: accounts address, data, instruction index, logs, external seq number, json, account names and 12 more fields.

By gaurav · saved 16 April 2024 · run 1 time · Bitquery API v2

What it returns

The query

{
  Solana {
    Instructions(
      where: {Instruction: {Logs: {includes: {is: "SlippageToleranceExceeded"}}}}
    ) {
      Instruction {
        Accounts {
          Address
        }
        Data
        Index
        Logs
        ExternalSeqNumber
        Program {
          Json
          AccountNames
          Method
          Name
          Arguments {
            Name
            Type
            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
              }
            }
          }
        }
        Index
      }
      Transaction {
        Result {
          ErrorMessage
        }
      }
    }
  }
}

Similar queries