Skip to content

Commit c401e34

Browse files
Store variableFeeBps as a decimal string (fractional bps)
Aligns with webdev#29767's corridor/VASP fractional-bps change; range ≤10000 stays server-enforced. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent af4772e commit c401e34

3 files changed

Lines changed: 18 additions & 16 deletions

File tree

mintlify/openapi.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/components/schemas/config/TransactionFeeConfig.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,15 @@ properties:
2020
currency.
2121
example: USD
2222
variableFeeBps:
23-
type: integer
24-
minimum: 0
25-
maximum: 10000
23+
type: string
24+
pattern: '^(0|[1-9]\d*)(\.\d+)?$'
25+
maxLength: 255
2626
description: >-
27-
Variable fee in basis points (1 bps = 0.01%). Multiplied by the
28-
transaction's source-currency amount.
29-
example: 25
27+
Variable fee in basis points (1 bps = 0.01%), as a decimal string to
28+
support fractional bps (e.g. "12.5"). Multiplied by the transaction's
29+
source-currency amount. Must be at most 10000; the range is
30+
server-enforced.
31+
example: '12.5'
3032
fixedFee:
3133
$ref: ../common/CurrencyAmount.yaml
3234
description: >-

0 commit comments

Comments
 (0)