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

# Get wallet details




## OpenAPI

````yaml openapi.json get /wallets/{id}
openapi: 3.0.0
info:
  description: Generated by encore
  title: API for ledger-api-vq7i
  version: '1'
  x-logo:
    altText: Encore logo
    backgroundColor: '#EEEEE1'
    url: https://encore.dev/assets/branding/logo/logo-black.png
servers:
  - description: Encore local dev environment
    url: http://localhost:4000
  - description: ' local dev environment'
    url: https://staging-ledger-api-vq7i.encr.app
security: []
paths:
  /wallets/{id}:
    get:
      summary: |
        Get wallet details
      operationId: GET:wallet.getWallet
      parameters:
        - allowEmptyValue: true
          explode: false
          in: path
          name: id
          required: true
          schema:
            type: string
          style: simple
        - allowEmptyValue: true
          explode: true
          in: header
          name: api_key
          required: true
          schema:
            type: string
          style: simple
        - allowEmptyValue: true
          explode: true
          in: query
          name: projectId
          required: true
          schema:
            type: number
          style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  address:
                    type: string
                  balance:
                    items:
                      $ref: '#/components/schemas/wallet.Balance'
                    type: array
                  created_at:
                    type: string
                  id:
                    type: string
                  projectId:
                    type: number
                  status:
                    type: string
                  transactions:
                    items:
                      $ref: '#/components/schemas/wallet.Transaction'
                    type: array
                  type:
                    type: string
                  updated_at:
                    type: string
                required:
                  - id
                  - type
                  - status
                  - created_at
                  - updated_at
                  - address
                  - projectId
                  - balance
                  - transactions
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    wallet.Balance:
      properties:
        account:
          type: string
        balance:
          type: number
        currency:
          type: string
      required:
        - account
        - currency
        - balance
      type: object
    wallet.Transaction:
      properties:
        amount:
          type: number
        balance:
          type: number
        currency:
          type: string
        date:
          type: string
        from:
          type: string
        id:
          type: string
        to:
          type: string
      required:
        - amount
        - date
        - currency
        - balance
        - from
        - id
        - to
      type: object
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response

````