Skip to content

Commit

Permalink
docs: update minFillSize spec for external orders
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Nov 26, 2024
1 parent 6c46845 commit 406030a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs.renegade.fi/docs/technical-reference/typescript-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,11 @@ This action requires an `AuthConfig` object instead of a `Config` object. [See h
- Raw amount of quote asset to trade (must be adjusted for token decimals, e.g. multiply by 10^6 for USDC)
- minFillSize (optional)
- `bigint`
- The minimum fill size for the order in raw units (must be adjusted for token decimals like baseAmount/quoteAmount)
- If not provided, it defaults to `BigInt(0)`, allowing any fill size.
- Minimum fill size for the order. Must be denominated in the same units as the non-zero amount field:
- When using `baseAmount`: specified in base token units
- When using `quoteAmount`: specified in quote token units
- If specified larger than the total order size, will be set to the total order size.
- If specified as 0, will be set to the total order size.

:::note
You must provide exactly one of either `baseAmount` or `quoteAmount` in your order. Providing both will result in an error.
Expand Down

0 comments on commit 406030a

Please sign in to comment.