Solana - Instructions by Signatures

Returns instructions on Solana, where height is above 0, sorted by block height: action name, block height, iso8601, transaction signature, call path, external action name, external program ID and 2 more fields.

By Nick · saved 17 October 2024 · Bitquery API v1

What it returns

Filters

The query

query (
  $signatures: [String!]!
  $limit: Int!
  $offset: Int!
  $from: ISO8601DateTime
  $till: ISO8601DateTime
  $fromHeight: Int = 0
) {
  solana(network: solana) {
    instructions(
      options: { limit: $limit, offset: $offset, asc: "block.height" }
      date: { since: $from, till: $till }
      height: { gt: $fromHeight }
      signature: { in: $signatures }
    ) {
      action {
        name
      }
      block {
        height
        timestamp {
          iso8601
        }
      }
      transaction {
        signature
      }
      callPath
      externalAction {
        name
      }
      externalProgram {
        id
        parsedName
      }
      program {
        id
        parsedName
      }
    }
  }
}

Similar queries