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

# getAccountInfo

> 제공된 Pubkey의 계정과 관련된 모든 정보를 반환합니다.

<Info>
  **새로운 기능**: `getAccountInfo` 이제 점진적 업데이트를 위한 `changedSinceSlot` 매개변수를 지원합니다. 지정된 경우, 이 메소드는 주어진 슬롯 번호에서 변경된 계정만 반환합니다. 지정된 슬롯 이후로 변경되지 않은 계정의 경우, 응답은 `status: "unchanged"`를 포함합니다.
</Info>

## 요청 매개변수

<ParamField body="pubkey" type="string" required>
  조회할 계정의 Pubkey, base-58 인코딩된 문자열로 제공됩니다.
</ParamField>

<ParamField body="commitment" type="string">
  쿼리의 커밋 수준입니다.

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

<ParamField body="encoding" type="string">
  계정 데이터의 인코딩 형식입니다.

  * `base58`
  * `base64`
  * `base64+zstd`
  * `jsonParsed`
</ParamField>

<ParamField body="dataSlice" type="object">
  계정 데이터의 슬라이스를 요청합니다.
</ParamField>

<ParamField body="dataSlice.offset" type="number">
  읽기를 시작할 바이트 오프셋입니다.
</ParamField>

<ParamField body="dataSlice.length" type="number">
  반환할 바이트 수입니다.
</ParamField>

<ParamField body="minContextSlot" type="number">
  요청이 평가될 수 있는 최소 슬롯입니다.
</ParamField>

<ParamField body="changedSinceSlot" type="number">
  이 슬롯 번호에서 변경된 경우에만 계정을 반환합니다. 계정이 존재하지만 지정된 슬롯 이후로 변경되지 않은 경우, 응답은 상태를 "unchanged"로 포함합니다.
</ParamField>


## OpenAPI

````yaml ko/openapi/rpc-http/getAccountInfo.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: Mainnet RPC 엔드포인트
  - url: https://devnet.helius-rpc.com
    description: Devnet RPC 엔드포인트
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getAccountInfo
      operationId: getAccountInfo
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  description: JSON-RPC 프로토콜 버전입니다.
                  enum:
                    - '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: 요청의 고유 식별자입니다.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  description: 호출할 RPC 메서드의 이름입니다.
                  enum:
                    - getAccountInfo
                  default: getAccountInfo
                params:
                  type: array
                  default:
                    - 83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri
                  items:
                    oneOf:
                      - title: Pubkey
                        type: string
                        description: 쿼리할 계정의 Pubkey로, base-58로 인코딩된 문자열입니다.
                        example: 83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri
                      - title: Configuration Object
                        type: object
                        description: 구성 객체입니다.
                        properties:
                          commitment:
                            type: string
                            description: 쿼리에 대한 커밋 수준입니다.
                            enum:
                              - finalized
                              - confirmed
                              - processed
                            example: confirmed
                          encoding:
                            type: string
                            description: 계정 데이터에 대한 인코딩 형식입니다.
                            enum:
                              - base58
                              - base64
                              - base64+zstd
                              - jsonParsed
                            example: base58
                          dataSlice:
                            type: object
                            description: 계정 데이터의 일부를 요청합니다.
                            properties:
                              offset:
                                type: integer
                                description: 읽기 시작할 바이트 오프셋입니다.
                                example: 0
                              length:
                                type: integer
                                description: 반환할 바이트 수입니다.
                                example: 64
                          minContextSlot:
                            type: integer
                            description: 요청을 평가할 수 있는 최소 슬롯입니다.
                            example: 100000000
                          changedSinceSlot:
                            type: integer
                            description: >-
                              지정된 슬롯 이후에 변경된 경우에만 계정을 반환합니다. 계정이 존재하지만 지정된 슬롯
                              이후로 변경되지 않은 경우 응답에 "변경 없음" 상태가 포함됩니다.
                            example: 464175999
      responses:
        '200':
          description: 계정 정보를 성공적으로 검색했습니다.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: JSON-RPC 프로토콜 버전입니다.
                    example: '2.0'
                  result:
                    type: object
                    properties:
                      context:
                        type: object
                        description: 요청의 컨텍스트입니다.
                        properties:
                          apiVersion:
                            type: string
                            description: 요청의 API 버전입니다.
                            example: 2.0.15
                          slot:
                            type: integer
                            description: 응답의 슬롯 번호입니다.
                            example: 341197053
                      value:
                        oneOf:
                          - type: object
                            description: 계정이 존재할 경우의 계정 데이터입니다.
                            properties:
                              lamports:
                                type: integer
                                description: 이 계정에 할당된 lamports의 수입니다.
                                example: 88849814690250
                              owner:
                                type: string
                                description: 이 계정이 할당된 프로그램의 Base-58로 인코딩된 Pubkey입니다.
                                example: '11111111111111111111111111111111'
                              data:
                                type: array
                                items:
                                  type: string
                                description: 계정과 관련된 데이터로, 인코딩된 이진 데이터나 JSON 형식입니다.
                                example:
                                  - ''
                                  - base58
                              executable:
                                type: boolean
                                description: 계정에 프로그램이 포함되어 있는지를 나타냅니다.
                                example: false
                              rentEpoch:
                                type: integer
                                description: 이 계정이 다음에 임대료를 내야 할 에포크입니다.
                                example: 18446744073709552000
                              space:
                                type: integer
                                description: 계정의 데이터 크기입니다.
                                example: 0
                          - type: object
                            description: 명시된 슬롯 이후 변경되지 않았을 때 계정이 존재함을 나타내는 상태 응답입니다.
                            properties:
                              status:
                                type: string
                                description: 지정된 슬롯 이후로 계정이 변경되지 않았음을 나타내는 상태입니다.
                                enum:
                                  - unchanged
                                example: unchanged
                  id:
                    type: integer
                    description: 요청 ID와 일치하는 고유 식별자입니다.
                    example: 1
                  method:
                    type: string
                    description: 호출 중인 메서드입니다.
                    example: getAccountInfo
                  params:
                    type: array
                    description: 요청에 대한 매개변수입니다.
                    items:
                      oneOf:
                        - type: string
                        - type: object
                          properties:
                            encoding:
                              type: string
              examples:
                response:
                  value:
                    jsonrpc: '2.0'
                    result:
                      context:
                        apiVersion: 2.0.15
                        slot: 341197053
                      value:
                        lamports: 88849814690250
                        owner: '11111111111111111111111111111111'
                        data:
                          - ''
                          - base58
                        executable: false
                        rentEpoch: 18446744073709552000
                        space: 0
                    id: 1
        '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'
          default: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: 오류 코드입니다.
            message:
              type: string
              description: 오류 메시지입니다.
        id:
          type: string
          description: 요청의 고유 식별자입니다.
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Helius API 키입니다. [대시보드](https://dashboard.helius.dev/api-keys)에서 무료로 받을
        수 있습니다.

````