> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# getTransactionCount | Solana

> The Solana getTransactionCount method returns the total number of transactions that the node has processed since genesis. On Solana.

The Solana `getTransactionCount` method returns the total number of transactions that the node has processed since genesis.

This method is useful for monitoring network activity and throughput over time.

## Parameters

1. `commitment` (string, optional) — the commitment level. Values: `processed`, `confirmed`, `finalized`.

## Response

* `result` (integer) — the total number of transactions processed by the node.

## Use case

A common use case for `getTransactionCount` is in network monitoring dashboards that track Solana's throughput over time. By polling this method at regular intervals, you can calculate the transactions-per-second rate and detect periods of high or low network activity.


## OpenAPI

````yaml openapi/solana_node_api/getTransactionCount.json POST /9de47db917d4f69168e3fed02217d15b
openapi: 3.0.0
info:
  title: getTransactionCount example
  version: 1.0.0
  description: This is an API example for Solana's getTransactionCount.
servers:
  - url: https://nd-326-444-187.p2pify.com
security: []
paths:
  /9de47db917d4f69168e3fed02217d15b:
    post:
      tags:
        - query
      summary: getTransactionCount
      operationId: getTransactionCount
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: getTransactionCount
                params:
                  type: array
                  default: []
      responses:
        '200':
          description: Transaction count
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: integer
                    description: Total number of transactions processed

````