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

# getTransactionCount

> 원장으로부터 현재 거래 수를 반환합니다.

## Request Parameters

<ParamField body="commitment" type="string">
  거래 수를 측정할 완료도 수준 (processed = 최근, finalized = 확인됨).

  * `confirmed`
  * `finalized`
  * `processed`
</ParamField>

<ParamField body="minContextSlot" type="number">
  요청을 평가할 수 있는 최소 슬롯.
</ParamField>


## OpenAPI

````yaml ko/openapi/rpc-http/getTransactionCount.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: getTransactionCount
      description: >-
        Solana 블록체인에 의해 초기부터 처리된 총 트랜잭션 수를 검색합니다. 이 네트워크 활동 메트릭은 블록체인 처리량 및 과거
        트랜잭션 볼륨에 대한 통찰력을 제공하며, 네트워크 전체 역사 동안 성공적으로 처리된 트랜잭션의 누적 수를 추적합니다. 블록체인
        분석, 네트워크 모니터링 대시보드, 처리량 분석, Solana의 성장 추적 애플리케이션에 필수적입니다. 결과는 다양한 최종성
        수준으로 쿼리할 수 있습니다.
      operationId: getTransactionCount
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: JSON-RPC 프로토콜 버전입니다.
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: 요청에 대한 고유 식별자입니다.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  enum:
                    - getTransactionCount
                  description: 호출할 RPC 메서드의 이름입니다.
                  example: getTransactionCount
                  default: getTransactionCount
                params:
                  type: array
                  description: 옵션 설정 객체입니다.
                  items:
                    type: object
                    description: 요청을 위한 구성 옵션입니다.
                    properties:
                      commitment:
                        type: string
                        description: >-
                          트랜잭션 수를 측정할 때의 최종성 수준입니다 (processed = 최근, finalized =
                          확인됨).
                        enum:
                          - confirmed
                          - finalized
                          - processed
                        example: finalized
                      minContextSlot:
                        type: integer
                        description: 요청을 평가할 수 있는 최소 슬롯입니다.
                        example: 1000
      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: integer
                    description: 네트워크가 시작된 이후 Solana 블록체인에 의해 처리된 트랜잭션의 총 수입니다.
                    example: 268
              examples:
                sampleResponse:
                  $ref: '#/components/examples/responseExample'
        '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:
  examples:
    responseExample:
      value:
        jsonrpc: '2.0'
        id: '1'
        result: 268
  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)에서 무료로
        얻을 수 있습니다.

````