Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add fillDeadline to api response #1380

Merged
merged 2 commits into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions api-docs-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,15 @@ paths:
"quoteBlock": "19237525",
"spokePoolAddress": "0xe35e9842fceaCA96570B734083f4a58e8F7C5f2A",
"expectedFillTimeSec": "4",
"limits": {
"fillDeadline": "1737033609",
"limits":
{
"minDeposit": "7799819",
"maxDeposit": "22287428516241",
"maxDepositInstant": "201958902363",
"maxDepositShortDelay": "2045367713809",
"recommendedDepositInstant": "201958902363"
}
"recommendedDepositInstant": "201958902363",
},
}
"400":
description: Invalid input
Expand Down Expand Up @@ -527,8 +529,12 @@ components:
description: >
The expected time (in seconds) for a fill to be made. Represents 75th percentile of the 7-day rolling average of times (updated daily). Times are dynamic by origin/destination token/chain for a given amount.
example: "4"
fillDeadline:
type: string
description: >
The recommended deadline (UNIX timestamp in seconds) for the relayer to fill the deposit. After this destination chain timestamp, the fill will revert on the destination chain.
limits:
$ref: '#/components/schemas/TransferLimits'
$ref: "#/components/schemas/TransferLimits"
TransferLimits:
type: object
properties:
Expand Down
Loading