Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Solver Settle API
description: The API implemented by Solvers to be queried by Autopilot.
version: 0.0.1
tags:
- name: Settle
paths:
/settle:
post:
operationId: settle
description: 'Execute the previously solved auction on chain.
The auction that should be executed is identified through its id and was
recently returned by this Solver''s solve endpoint.
By accepting the execute request the Solver promises to execute the
solution on chain immediately.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SettleRequest'
responses:
'200':
description: Execution accepted.
'400':
$ref: '#/components/responses/BadRequest'
'500':
$ref: '#/components/responses/InternalServerError'
tags:
- Settle
summary: Settle
x-summary-source: derived
components:
responses:
BadRequest:
description: 'There is something wrong with the request.
Body potentially contains extra information.'
content:
text/plain:
schema:
type: string
InternalServerError:
description: 'Something went wrong when handling the request.
Body potentially contains extra information.'
content:
text/plain:
schema:
type: string
schemas:
SettleRequest:
description: Request to the `/settle` endpoint.
type: object
required:
- solutionId
- submissionDeadlineLatestBlock
- auctionId
properties:
solutionId:
description: Id of the solution that should be executed.
type: integer
example: 123
submissionDeadlineLatestBlock:
description: The last block number in which the solution TX can be included.
type: integer
example: 12345
auctionId:
description: Auction ID in which the specified solution ID is competing.
type: integer
example: 123