> ## 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.

# getRecentPerformanceSamples



## OpenAPI

````yaml getrecentperformancesamples post /
openapi: 3.1.0
info:
  title: Solana RPC
  version: 1.0.0
servers:
  - url: https://rpc-mainnet.solanatracker.io
    description: Mainnet RPC endpoint
security: []
paths:
  /:
    post:
      summary: getRecentPerformanceSamples
      operationId: getrecentperformancesamples
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  allOf:
                    - type: string
                      description: The JSON-RPC protocol version.
                      enum:
                        - '2.0'
                      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
                      description: The name of the RPC method to invoke.
                      enum:
                        - getRecentPerformanceSamples
                      example: getRecentPerformanceSamples
                      default: getRecentPerformanceSamples
                params:
                  allOf:
                    - type: array
                      description: >-
                        Optional parameter to limit the number of samples to
                        return.
                      default:
                        - 4
                      items:
                        type: integer
                        description: >-
                          Number of historical performance sample intervals to
                          retrieve (maximum 720, representing up to 12 hours).
                        example: 4
              required:
                - jsonrpc
                - id
                - method
            examples:
              example:
                value:
                  jsonrpc: '2.0'
                  id: db16f277-1a22-41ff-9f85-f37e2cd77900
                  method: getRecentPerformanceSamples
                  params:
                    - 4
      responses:
        '200':
          description: Successfully retrieved performance samples.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        description: The JSON-RPC protocol version.
                        enum:
                          - '2.0'
                        example: '2.0'
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                  result:
                    allOf:
                      - type: array
                        description: List of performance samples.
                        items:
                          type: object
                          description: Performance sample data.
                          properties:
                            slot:
                              type: integer
                              description: >-
                                Solana blockchain slot at the end of this
                                performance sampling period.
                              example: 348125
                            numTransactions:
                              type: integer
                              description: >-
                                Total number of transactions processed during
                                this sampling window, including both user
                                transactions and validator votes.
                              example: 126
                            numNonVoteTransactions:
                              type: integer
                              description: >-
                                Number of actual user transactions (excluding
                                validator consensus votes) processed in this
                                period.
                              example: 1
                            samplePeriodSecs:
                              type: integer
                              format: int16
                              description: >-
                                Duration of this performance measurement window
                                in seconds, typically 60-second intervals.
                              example: 60
                            numSlots:
                              type: integer
                              description: >-
                                Number of Solana slots successfully produced
                                during this sampling period, indicating
                                blockchain progress.
                              example: 126
              examples:
                example:
                  value:
                    jsonrpc: '2.0'
                    id: db16f277-1a22-41ff-9f85-f37e2cd77900
                    result:
                      - numNonVoteTransactions: 61716
                        numSlots: 150
                        numTransactions: 201142
                        samplePeriodSecs: 60
                        slot: 373339645
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key

````