Solana - Gas Transactions by Address

Returns transactions on Solana, where height is above 0, sorted by block height: block height, iso8601, signature, fee payer, success and transaction fee.

By Nick · saved 17 October 2024 · Bitquery API v1

What it returns

Filters

The query

query (
        $signatures: [String!]
        $addresses: [String!]!
        $limit: Int!
        $offset: Int!
        $from: ISO8601DateTime
        $till: ISO8601DateTime
        $fromHeight: Int = 0
      ) {
        solana(network: solana) {
          transactions(
            signer: { in: $addresses }
            date: { since: $from, till: $till }
            height: { gt: $fromHeight }
            options: { limit: $limit, offset: $offset, asc: "block.height" }
            signature: { in: $signatures }
          ) {
            block {
              height
              timestamp {
                iso8601
              }
            }
            signature
            feePayer
            success
            transactionFee
          }
        }
      }

Similar queries