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

# getRecentPerformanceSamples

> 최근 성능 샘플 목록을 슬롯 역순으로 반환합니다. 성능 샘플은 60초마다 채취되며 특정 시간 동안 발생하는 거래 및 슬롯 수를 포함합니다.



## OpenAPI

````yaml ko/openapi/rpc-http/getRecentPerformanceSamples.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: Solana 블록체인의 처리량, 트랜잭션 처리 속도 및 실시간 상태 지표를 모니터링하기 위한 네트워크 성능 분석 API입니다.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: 메인넷 RPC 엔드포인트
  - url: https://devnet.helius-rpc.com
    description: Devnet RPC 엔드포인트
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getRecentPerformanceSamples
      description: >
        Solana 블록체인의 최근 운영 효율성에 대한 자세한 성능 메트릭을 검색합니다.

        이 네트워크 분석 API는 트랜잭션 처리량, 슬롯 생성 및 투표 활동을 정기 표본 간격으로 보여주는 시계열 데이터를 제공합니다.
        네트워크 상태 모니터링, 블록체인 용량 분석, 성능 추세 추적 및 네트워크 신뢰성 검증에 필수적입니다.

        메트릭은 전체 트랜잭션 볼륨과 특히 비투표 트랜잭션에 대한 통찰력을 제공하여 합의 오버헤드와 실제 사용자 작업을 구분하는 데
        도움이 됩니다.
      operationId: getRecentPerformanceSamples
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
              properties:
                jsonrpc:
                  type: string
                  description: JSON-RPC 프로토콜 버전입니다.
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: 요청의 고유 식별자입니다.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  description: 호출할 RPC 메서드의 이름입니다.
                  enum:
                    - getRecentPerformanceSamples
                  example: getRecentPerformanceSamples
                  default: getRecentPerformanceSamples
                params:
                  type: array
                  description: 반환될 샘플 수를 제한하는 선택적 매개변수입니다.
                  default:
                    - 4
                  items:
                    type: integer
                    description: 가져올 역사적 성능 샘플 간격 수 (최대 720, 최대 12시간까지 나타냄).
                    example: 4
      responses:
        '200':
          description: 성공적으로 성능 샘플을 가져왔습니다.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: JSON-RPC 프로토콜 버전입니다.
                    enum:
                      - '2.0'
                    example: '2.0'
                  id:
                    type: string
                    description: 요청을 일치시키는 식별자입니다.
                    example: '1'
                  result:
                    type: array
                    description: 성능 샘플 목록입니다.
                    items:
                      type: object
                      description: 성능 샘플 데이터입니다.
                      properties:
                        slot:
                          type: integer
                          description: 이 성능 샘플링 기간이 끝날 때 Solana 블록체인 슬롯입니다.
                          example: 348125
                        numTransactions:
                          type: integer
                          description: 이 샘플링 기간 동안 처리된 전체 트랜잭션 수 (사용자 트랜잭션 및 검증자 투표 모두 포함).
                          example: 126
                        numNonVoteTransactions:
                          type: integer
                          description: 이 기간 동안 처리된 실제 사용자 트랜잭션 수 (검증자 합의 투표 제외).
                          example: 1
                        samplePeriodSecs:
                          type: integer
                          format: int16
                          description: 초 단위 성능 측정 창의 기간, 일반적으로 60초 간격입니다.
                          example: 60
                        numSlots:
                          type: integer
                          description: >-
                            이 샘플링 기간 동안 성공적으로 생성된 Solana 슬롯 수를 나타내며, 블록체인 진행을
                            나타냅니다.
                          example: 126
        '400':
          description: 잘못된 요청 - 잘못된 요청 매개변수 또는 잘못된 요청입니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: 잘못된 매개변수
                id: '1'
        '401':
          description: 승인되지 않음 - 잘못되었거나 누락된 API 키입니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: 승인되지 않음
                id: '1'
        '429':
          description: 요청 과다 - 할당량 초과입니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: 요청 과다
                id: '1'
        '500':
          description: 내부 서버 오류 - 서버에서 오류가 발생했습니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: 내부 오류
                id: '1'
        '503':
          description: 서비스 불가 - 서비스가 일시적으로 불가능합니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: 서비스 불가
                id: '1'
        '504':
          description: 게이트웨이 시간 초과 - 요청 시간이 초과되었습니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: 게이트웨이 시간 초과
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: JSON-RPC 프로토콜 버전입니다.
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: 오류 코드입니다.
              example: -32602
            message:
              type: string
              description: 오류 메시지입니다.
            data:
              type: object
              description: 오류에 대한 추가 정보입니다.
        id:
          type: string
          description: 요청을 일치시키는 식별자입니다.
          example: '1'
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        당신의 Helius API 키입니다. [대시보드](https://dashboard.helius.dev/api-keys)에서 무료로
        얻을 수 있습니다.

````