Instructions For Specific Method

Streams instructions on Solana as they happen, where program method is swapBaseIn: block hash, slot, block time, accounts address, balance updates count, logs, program address and 7 more fields.

By Ashish Bhintade · saved 27 June 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    Instructions(where: {Instruction: {Program: {Method: {is: "swapBaseIn"}}}}) {
      Block {
        Hash
        Slot
        Time
      }
      Instruction {
        Accounts {
          Address
        }
        BalanceUpdatesCount
        Logs
        Program {
          Address
          Method
          Name
        }
        TokenBalanceUpdatesCount
      }
      Transaction {
        Signature
        Signer
        Result {
          ErrorMessage
          Success
        }
      }
    }
  }
}

Similar queries