v1

latestOpenAPI 3.0.02026-07-22134640.3 KB
Solver Registration

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.

patch/api/v1/solverRegistry/updateSolver

Headers

x-beam-sigstring

Request signature header

x-beam-sig-expirestring

Request signature expiry header

x-beam-sig-addressstring

Request signature address header

Request body

intentExecutionTypesstring[]

Array of intent execution types that this solver supports

quotesUrlstring

V1 endpoint URL for retrieving quotes from the solver

quotesV2Urlstring

V2 endpoint URL for retrieving quotes from the solver with enhanced parameters

reverseQuotesUrlstring

V1 endpoint URL for retrieving reverse quotes (specify output, get input quotes)

receiveSignedIntentUrlstring

V1 endpoint URL where the solver receives signed intents for execution

useSolverDataFormatboolean

Whether to use solver-specific data format (true) or generic format (false)

Example request

{
  "intentExecutionTypes": [
    "SELF_PUBLISH",
    "GASLESS"
  ],
  "quotesUrl": "https://solver.example.com/api/v1/quotes",
  "quotesV2Url": "https://solver.example.com/api/v2/quotes",
  "reverseQuotesUrl": "https://solver.example.com/api/v1/quotes/reverse",
  "receiveSignedIntentUrl": "https://solver.example.com/api/v1/intents",
  "useSolverDataFormat": true
}

Response

Solver configuration successfully updated

EcoAPIResponse required