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

# Set Default Gateway Wallet

> Set the default wallet for a chain in Gateway.

When multiple wallets are configured for a chain, this endpoint allows
switching which wallet is used as the default for operations.

Args:
    request: Contains chain and wallet address to set as default

Returns:
    Dict with success status and updated wallet info.

Example: POST /accounts/gateway/wallet/set-default
{
    "chain": "solana",
    "address": "82SggYRE2Vo4jN4a2pk3aQ4SET4ctafZJGbowmCqyHx5"
}



## OpenAPI

````yaml /api-reference/openapi.json post /accounts/gateway/wallet/set-default
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /accounts/gateway/wallet/set-default:
    post:
      tags:
        - Accounts
      summary: Set Default Gateway Wallet
      description: |-
        Set the default wallet for a chain in Gateway.

        When multiple wallets are configured for a chain, this endpoint allows
        switching which wallet is used as the default for operations.

        Args:
            request: Contains chain and wallet address to set as default

        Returns:
            Dict with success status and updated wallet info.

        Example: POST /accounts/gateway/wallet/set-default
        {
            "chain": "solana",
            "address": "82SggYRE2Vo4jN4a2pk3aQ4SET4ctafZJGbowmCqyHx5"
        }
      operationId: set_default_gateway_wallet_accounts_gateway_wallet_set_default_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetDefaultWalletRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: >-
                  Response Set Default Gateway Wallet Accounts Gateway Wallet
                  Set Default Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    SetDefaultWalletRequest:
      properties:
        chain:
          type: string
          title: Chain
          description: Blockchain chain (e.g., 'solana', 'ethereum')
        address:
          type: string
          title: Address
          description: Wallet address to set as default
      type: object
      required:
        - chain
        - address
      title: SetDefaultWalletRequest
      description: Request to set the default wallet for a chain
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````