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

# Get Wallets

> Returns all wallets linked to a merchant, including both connected and payout wallets, across supported blockchain networks.

<Info>
  **Note:** When using the production environment at [moonpay.hel.io](http://app.hel.io), set your API endpoint to `api.hel.io/v1` and generate API keys there. For the development environment, use `api.dev.hel.io/v1` and generate API keys from [moonpay.dev.hel.io](http://app.dev.hel.io).
</Info>


## OpenAPI

````yaml GET /v1/wallet/all
openapi: 3.0.0
info:
  title: Helio Open API
  description: |-
    API schema and definitions for Helio API. <br/> 
          The API is using two types of Authentication, for dashboard endpoints we use <b>JSON Web Token (JWT)</b> that is generated by self custodial wallet signing a message from API.</br> 
          We also support authentication with <b>API Key and Secret</b> which can be generated on <a href='https://hel.io'>Helio dashboard</a>.
  version: 1.0.0
  contact: {}
servers:
  - description: Helio API (Mainnet)
    url: https://api.hel.io
  - description: Helio API (Devnet)
    url: https://api.dev.hel.io
security: []
tags:
  - name: Webhooks
  - name: Exports
  - name: Currencies
    description: >-
      Supported currencies endpoint, includes fiat and digital assets
      </br><i>Authentication: </i><b>None</b>
externalDocs:
  description: Helio product documentation
  url: https://docs.hel.io/
paths:
  /v1/wallet/all:
    get:
      tags:
        - Wallet
      summary: Get Wallets
      description: >-
        Returns all wallets linked to a merchant, including both connected and
        payout wallets, across supported blockchain networks.
      operationId: WalletController_getWallets
      parameters:
        - name: apiKey
          required: true
          in: query
          description: API key can be generated on helio dashboard settings page
          schema:
            type: string
      responses:
        '200':
          description: Successfully retrieved merchant wallets.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GetWallet'
              examples:
                walletList:
                  summary: List of merchant wallets
                  value:
                    - id: 65f1a2b3c4d5e6f7g8h9i0j1
                      publicKey: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU
                      name: Main Wallet
                      blockchainEngineType: SOL
                      walletCategory: CONNECTED
                      type: EXTENSION
                      origin: PHANTOM
                      createdAt: '2024-01-15T10:30:00.000Z'
                    - id: 65f1a2b3c4d5e6f7g8h9i0j2
                      publicKey: bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
                      name: BTC Payout
                      blockchainEngineType: BTC
                      walletCategory: PAYOUT
                      createdAt: '2024-01-20T14:45:00.000Z'
        '401':
          description: Provided API key has no access to the resource.
          content:
            application/json:
              examples:
                unauthorized:
                  summary: Invalid or missing API key
                  value:
                    message: Api key or token is invalid
                    code: 401
      security:
        - bearer: []
components:
  schemas:
    GetWallet:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the wallet
        publicKey:
          type: string
          description: Public address of the wallet
        blockchainEngineType:
          type: string
          description: Blockchain engine the wallet is associated with
          example: SOL
        walletCategory:
          type: string
          description: Category of the wallet
          example: CONNECTED
        name:
          type: string
          description: Human-readable wallet name
        type:
          type: string
          description: Wallet type
          example: EXTENSION
        origin:
          type: string
          description: Wallet provider or origin
          example: PHANTOM
        createdAt:
          type: string
          format: date-time
          description: ISO timestamp when the wallet was created
      required:
        - id
        - publicKey
        - blockchainEngineType
        - walletCategory
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Authentication using JWT token

````