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

# Listar carteiras

> Liste suas carteiras nas cadeias compatíveis e identifique carteiras padrão e automação.

<Note>
  `isDefault` e `automationEnabled` são derivados das contas vinculadas.
</Note>

<ResponseExample>
  ```json 200 theme={null}
  {
    "wallets": [
      {
        "address": "0xabc...",
        "chainType": "ethereum",
        "isDefault": true,
        "automationEnabled": true,
        "providerType": "embedded",
        "clientType": "privy"
      }
    ]
  }
  ```
</ResponseExample>


## OpenAPI

````yaml GET /wallets
openapi: 3.1.0
info:
  title: AFK Crypto API
  description: >-
    AFK Crypto - Non-custodial wallet automation. Simple REST APIs for EVM and
    Solana.
  version: 1.0.0
servers:
  - url: https://api.afkcrypto.com/v1
    description: Production
security:
  - apiKeyAuth: []
paths:
  /wallets:
    get:
      summary: List caller wallets
      description: Defaults to all wallets; default wallets first.
      parameters:
        - name: chain
          in: query
          required: false
          schema:
            type: string
            enum:
              - ethereum
              - solana
          description: Filter by chain type
        - name: defaultOnly
          in: query
          required: false
          schema:
            type: boolean
          description: Return only default wallets.
        - name: automationOnly
          in: query
          required: false
          schema:
            type: boolean
          description: Return only wallets with automation enabled.
      responses:
        '200':
          description: Wallet list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetWalletsResponse'
          headers:
            x-request-id:
              $ref: '#/components/headers/XRequestId'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            x-request-id:
              $ref: '#/components/headers/XRequestId'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            x-request-id:
              $ref: '#/components/headers/XRequestId'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          headers:
            x-request-id:
              $ref: '#/components/headers/XRequestId'
            Retry-After:
              schema:
                type: integer
              description: Seconds until next window
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    GetWalletsResponse:
      type: object
      properties:
        wallets:
          type: array
          items:
            $ref: '#/components/schemas/Wallet'
      required:
        - wallets
    ApiError:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message.
        code:
          type: string
          enum:
            - FORBIDDEN
            - UNAUTHORIZED
            - RATE_LIMITED
            - INVALID_INPUT
            - WALLET_NOT_FOUND
            - USER_NOT_LINKED
            - WALLET_NOT_DELEGATED
            - WALLET_ID_REQUIRED
            - CHAIN_UNKNOWN
            - IDEMPOTENT_BODY_MISMATCH
            - IDEMPOTENT_REPLAY
            - PRIVY_RPC_ERROR
            - SEND_FAILED
            - SERVICE_UNAVAILABLE
            - QUOTE_FAILED
            - NOT_FOUND
            - INSUFFICIENT_FUNDS
            - INTERNAL_ERROR
          description: Stable error code for programmatic handling.
        requestId:
          type:
            - string
            - 'null'
          description: Unique request identifier (also in x-request-id header).
      required:
        - error
    Wallet:
      type: object
      properties:
        address:
          type: string
          description: Wallet address.
        chainType:
          type: string
          enum:
            - ethereum
            - solana
          description: Chain family for this wallet.
        isDefault:
          type: boolean
          description: Whether this is the user's default wallet for its chain.
        automationEnabled:
          type: boolean
          description: Automation/delegation enabled for this wallet.
        providerType:
          type: string
          description: Wallet provider type (e.g., embedded).
        clientType:
          type: string
          description: Client integration type (e.g., privy).
      required:
        - address
        - chainType
        - isDefault
        - automationEnabled
  headers:
    XRequestId:
      description: Unique request identifier
      schema:
        type: string
  responses:
    ErrorResponse:
      description: Error envelope
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
      headers:
        x-request-id:
          $ref: '#/components/headers/XRequestId'
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````