Vote stream

Streams instructions on Solana as they happen, where program name is vote: parsed, program name, method, arguments name, arguments type, integer, string and 6 more fields.

By Aleksey · saved 27 May 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    Instructions(where: {Instruction: {Program: {Name: {is: "vote"}}}}) {
      Instruction {
        Program {
          Parsed
          Name
          Method
          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
              }
            }
          }
        }
      }
    }
  }
}

Similar queries