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

# Update Solver

> Update an existing registered solver configuration. Allows updating endpoints, supported routes, and execution types. This endpoint requires authentication via request signature headers from the solver owner.



## OpenAPI

````yaml /openapi_1.json patch /api/v1/solverRegistry/updateSolver
openapi: 3.0.0
info:
  title: Eco Routes API
  description: Eco Routes API documentation
  version: '1.0'
  contact: {}
servers:
  - url: https://quotes.eco.com
    description: Production
  - url: https://quotes-preprod.eco.com
    description: Preproduction
  - url: https://quotes.staging.eco.com
    description: Staging
  - url: http://localhost:4000
    description: Local
security: []
tags: []
paths:
  /api/v1/solverRegistry/updateSolver:
    patch:
      tags:
        - Solver Registration
      summary: Update Solver
      description: >-
        Update an existing registered solver configuration. Allows updating
        endpoints, supported routes, and execution types. This endpoint requires
        authentication via request signature headers from the solver owner.
      operationId: SolverRegistryController_updateSolver
      parameters:
        - name: x-beam-sig
          in: header
          description: Request signature header
          schema:
            type: string
        - name: x-beam-sig-expire
          in: header
          description: Request signature expiry header
          schema:
            type: string
        - name: x-beam-sig-address
          in: header
          description: Request signature address header
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRegisteredSolverDTO'
      responses:
        '200':
          description: Solver configuration successfully updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EcoAPIResponse'
components:
  schemas:
    UpdateRegisteredSolverDTO:
      type: object
      properties:
        intentExecutionTypes:
          type: array
          description: Array of intent execution types that this solver supports
          example:
            - SELF_PUBLISH
            - GASLESS
          items:
            type: string
            enum:
              - SELF_PUBLISH
              - GASLESS
        crossChainRoutes:
          description: >-
            Configuration of cross-chain routes that this solver supports,
            organized by source and destination chains
          allOf:
            - $ref: '#/components/schemas/CrossChainRoutesDTO'
        quotesUrl:
          type: string
          description: V1 endpoint URL for retrieving quotes from the solver
          example: https://solver.example.com/api/v1/quotes
        quotesV2Url:
          type: string
          description: >-
            V2 endpoint URL for retrieving quotes from the solver with enhanced
            parameters
          example: https://solver.example.com/api/v2/quotes
        reverseQuotesUrl:
          type: string
          description: >-
            V1 endpoint URL for retrieving reverse quotes (specify output, get
            input quotes)
          example: https://solver.example.com/api/v1/quotes/reverse
        receiveSignedIntentUrl:
          type: string
          description: >-
            V1 endpoint URL where the solver receives signed intents for
            execution
          example: https://solver.example.com/api/v1/intents
        useSolverDataFormat:
          type: boolean
          description: >-
            Whether to use solver-specific data format (true) or generic format
            (false)
          example: true
    EcoAPIResponse:
      type: object
      properties: {}
    CrossChainRoutesDTO:
      type: object
      properties:
        useTokenEnums:
          type: boolean
          description: >-
            Whether to use token enum identifiers instead of contract addresses
            for token identification
          example: false
          default: false
        crossChainRoutesConfig:
          description: >-
            Configuration object mapping source chain IDs to their supported
            destination chains and tokens. Structure: { [sourceChainId]: {
            [destChainId]: [{ send: tokenAddress, receive: [tokenAddresses] }] }
            }
          example:
            '1':
              '137':
                - send: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
                  receive:
                    - '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174'
            '137':
              '1':
                - send: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174'
                  receive:
                    - '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
          allOf:
            - $ref: '#/components/schemas/CrossChainRoutesConfigDTO'
      required:
        - crossChainRoutesConfig
    CrossChainRoutesConfigDTO:
      type: object
      properties: {}

````