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

# getTransactionCount

> Runs the Solana RPC `getTransactionCount` method.



## OpenAPI

````yaml gettransactioncount post /
openapi: 3.1.0
info:
  title: Solana RPC
  version: 1.0.0
  description: Solana RPC HTTP method reference.
servers:
  - url: https://rpc-mainnet.solanatracker.io
    description: Mainnet RPC endpoint
security: []
paths:
  /:
    post:
      summary: Run `getTransactionCount`
      description: Runs the Solana RPC `getTransactionCount` method.
      operationId: gettransactioncount
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  allOf:
                    - type: string
                      enum:
                        - '2.0'
                      description: The JSON-RPC protocol version.
                      example: '2.0'
                      default: '2.0'
                id:
                  allOf:
                    - type: string
                      description: A unique identifier for the request.
                      example: '1'
                      default: '1'
                method:
                  allOf:
                    - type: string
                      enum:
                        - getTransactionCount
                      description: The name of the RPC method to invoke.
                      example: getTransactionCount
                      default: getTransactionCount
                params:
                  allOf:
                    - type: array
                      description: Optional configuration object.
                      items:
                        type: object
                        description: Configuration options for the request.
                        properties:
                          commitment:
                            type: string
                            description: >-
                              The finality level at which to measure the
                              transaction count (processed = recent, finalized =
                              confirmed).
                            enum:
                              - confirmed
                              - finalized
                              - processed
                            example: finalized
                          minContextSlot:
                            type: integer
                            description: >-
                              The minimum slot that the request can be evaluated
                              at.
                            example: 1000
              required:
                - jsonrpc
                - id
                - method
                - params
            examples:
              sampleRequest:
                value:
                  jsonrpc: '2.0'
                  id: db16f277-1a22-41ff-9f85-f37e2cd77900
                  method: getTransactionCount
                  params:
                    - commitment: finalized
      responses:
        '200':
          description: Successfully retrieved the transaction count.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        enum:
                          - '2.0'
                        description: The JSON-RPC protocol version.
                        example: '2.0'
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                  result:
                    allOf:
                      - type: integer
                        description: >-
                          Total number of transactions processed by the Solana
                          blockchain since network inception.
                        example: 268
              examples:
                sampleResponse:
                  value:
                    jsonrpc: '2.0'
                    id: db16f277-1a22-41ff-9f85-f37e2cd77900
                    result: 268
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key

````