From c3b5997ba87e0c9e06f021086341e78e613e87bd Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 9 Nov 2026 17:09:48 -0600 Subject: [PATCH 1/2] BFP-5213: document the withdrawal amount quantum A withdrawal amount must be a whole number of the asset's smallest on-chain unit (a multiple of 10^(9 - decimals), 1000 for USDC). The matching engine rejects other amounts, because settlement truncates the remainder. maxWithdrawQuantityE9 is not rounded, so clients must round it down before withdrawing it. Regenerated the SDKs (py/rust 1.23.0, ts 2.5.0). Co-Authored-By: Claude Opus 5.5 --- .apigen-state | 8 ++++---- python/sdk/config.yaml | 2 +- python/sdk/pyproject.toml | 2 +- python/sdk/src/openapi_client/__init__.py | 2 +- python/sdk/src/openapi_client/api_client.py | 2 +- python/sdk/src/openapi_client/configuration.py | 2 +- python/sdk/src/openapi_client/docs/Asset.md | 2 +- .../openapi_client/docs/WithdrawRequestSignedFields.md | 2 +- python/sdk/src/openapi_client/models/asset.py | 2 +- .../models/withdraw_request_signed_fields.py | 2 +- python/sdk/src/openapi_client_README.md | 2 +- resources/common.yaml | 5 ++++- resources/trade-api.yaml | 8 +++++++- rust/Cargo.toml | 4 ++-- rust/gen/bluefin_api/Cargo.toml | 2 +- rust/gen/bluefin_api/README.md | 2 +- rust/gen/bluefin_api/docs/Asset.md | 2 +- rust/gen/bluefin_api/docs/WithdrawRequestSignedFields.md | 2 +- rust/gen/bluefin_api/src/models/asset.rs | 2 +- .../src/models/withdraw_request_signed_fields.rs | 2 +- rust/gen/config.yaml | 2 +- ts/sdk/package.json | 2 +- ts/sdk/src/api.ts | 4 ++-- ts/sdk/src/docs/Asset.md | 2 +- ts/sdk/src/docs/WithdrawRequestSignedFields.md | 2 +- 25 files changed, 39 insertions(+), 30 deletions(-) diff --git a/.apigen-state b/.apigen-state index 501bf124..65b3b645 100644 --- a/.apigen-state +++ b/.apigen-state @@ -1,18 +1,18 @@ { "version": "1", "algorithm": "sha256", - "generated_at": "2026-10-29T15:57:26.956791Z", + "generated_at": "2026-11-09T23:09:20.862721Z", "spec_files": { "resources/account-data-api.yaml": "ca145d50d48e0f3709130af89cf0feb3416c36adbd54b5ad40740f55217f94af", "resources/auth-api.yaml": "01e54ca1a13d2d6307e0d3a9ea38f816902521e7c85998f0f21a1353cc54fb76", "resources/bluefin-api.yaml": "27c095db0279a96408e4b60840d791c344fd40a380d4edb3bbf1f68b68ff7f2d", - "resources/common.yaml": "760ce6c130e31c3f0eafd692ca5d834499c7f24a15157fb4b43d05bd1043a0c0", + "resources/common.yaml": "c988ec664a55450806c8ee838c7d787e38c2d5af74287e58b949315fd5457be7", "resources/exchange-common-api.yaml": "3c84fcdfa44e689c2465b79dab3dd0d2a2a1777ad207e167c64c457fcba58006", "resources/exchange-pro-api.yaml": "a9b065f87a8c5992667eee65f3680f178de693f0a01c82726f0378547a2b540f", "resources/rewards-data-api.yaml": "cdbd81ff161c09bf47ac6099e892d1f1e6a735d035cb16a22d6ad7eec0ac3550", - "resources/trade-api.yaml": "229ac3d9a7a30b640db928cc5d99cddc4e185e70b76e7c0d7273f94225cd1d37", + "resources/trade-api.yaml": "7256f14398f76f06fab31cd477386a7e0f4ec960c17e841dc100a2676d8a5d5f", "resources/vera-api.yaml": "f4c51b5f6614dd4e3b9f5f1f01f945e06d9090849530ecb916ad4ae18d8f61a0", "resources/websocket-api.yaml": "ff3458af8e3788bf0ae94159a60b0964186bed574aa4ec1edac70fae9d25c06a" }, - "combined_hash": "13e2104bd6fe752d0cf6d120281300f3f3c00fe4a88005ba17ad1c8f6ac2a7dd" + "combined_hash": "984fcd9f9b8f481315e1d4733eba220a1060280e2a00ed78f6bbfcda499eccd9" } \ No newline at end of file diff --git a/python/sdk/config.yaml b/python/sdk/config.yaml index 7545f390..4df18187 100644 --- a/python/sdk/config.yaml +++ b/python/sdk/config.yaml @@ -2,4 +2,4 @@ additionalProperties: library: asyncio generateSourceCodeOnly: true useOneOfDiscriminatorLookup: true - packageVersion: 1.22.0 + packageVersion: 1.23.0 diff --git a/python/sdk/pyproject.toml b/python/sdk/pyproject.toml index 04e7e89b..cfedc14d 100644 --- a/python/sdk/pyproject.toml +++ b/python/sdk/pyproject.toml @@ -21,7 +21,7 @@ description = "Python Boilerplate contains all the boilerplate you need to creat name = "bluefin_pro_sdk" readme = "README.rst" requires-python = ">=3.9.2,<3.14.0" -version = "1.22.0" +version = "1.23.0" [[project.authors]] email = "audreyr@example.com" diff --git a/python/sdk/src/openapi_client/__init__.py b/python/sdk/src/openapi_client/__init__.py index efc653ca..bff5ceca 100644 --- a/python/sdk/src/openapi_client/__init__.py +++ b/python/sdk/src/openapi_client/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "1.22.0" +__version__ = "1.23.0" # import apis into sdk package from openapi_client.api.account_data_api import AccountDataApi diff --git a/python/sdk/src/openapi_client/api_client.py b/python/sdk/src/openapi_client/api_client.py index f031c188..04132ef5 100644 --- a/python/sdk/src/openapi_client/api_client.py +++ b/python/sdk/src/openapi_client/api_client.py @@ -90,7 +90,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.22.0/python' + self.user_agent = 'OpenAPI-Generator/1.23.0/python' self.client_side_validation = configuration.client_side_validation async def __aenter__(self): diff --git a/python/sdk/src/openapi_client/configuration.py b/python/sdk/src/openapi_client/configuration.py index 19395fa9..48b429f7 100644 --- a/python/sdk/src/openapi_client/configuration.py +++ b/python/sdk/src/openapi_client/configuration.py @@ -507,7 +507,7 @@ def to_debug_report(self) -> str: "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 1.0.0\n"\ - "SDK Package Version: 1.22.0".\ + "SDK Package Version: 1.23.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/python/sdk/src/openapi_client/docs/Asset.md b/python/sdk/src/openapi_client/docs/Asset.md index c5fe9d5d..81d94b2e 100644 --- a/python/sdk/src/openapi_client/docs/Asset.md +++ b/python/sdk/src/openapi_client/docs/Asset.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **symbol** | **str** | The symbol of the asset. | **quantity_e9** | **str** | The quantity of the asset. | **effective_balance_e9** | **str** | The effective balance of the asset. | -**max_withdraw_quantity_e9** | **str** | The maximum quantity that can be withdrawn. | +**max_withdraw_quantity_e9** | **str** | The maximum quantity that can be withdrawn, in e9. It is not rounded to the asset's on-chain decimals; round it down to a multiple of 10^(9 - decimals) (1000 for USDC) before using it as a withdrawal amount. | **updated_at_millis** | **int** | The timestamp of the last update in milliseconds. | ## Example diff --git a/python/sdk/src/openapi_client/docs/WithdrawRequestSignedFields.md b/python/sdk/src/openapi_client/docs/WithdrawRequestSignedFields.md index 5a81bd0b..c18eb70e 100644 --- a/python/sdk/src/openapi_client/docs/WithdrawRequestSignedFields.md +++ b/python/sdk/src/openapi_client/docs/WithdrawRequestSignedFields.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_symbol** | **str** | Asset symbol of the withdrawn asset | **account_address** | **str** | The Account Address from which to withdraw assets | -**amount_e9** | **str** | The amount in e9 of the asset that the User will withdraw from their account | +**amount_e9** | **str** | The amount in e9 of the asset that the User will withdraw from their account. Must be a whole number of the asset's smallest on-chain unit, i.e. a multiple of 10^(9 - decimals) where decimals is the asset's on-chain decimals (1000 for USDC, which has 6 decimals). Other amounts are rejected after the request is accepted, via a failed-command event. Round down to that multiple before submitting, including when withdrawing maxWithdrawQuantityE9. | **salt** | **str** | A uniqueness modifier for the request. This is added to guarantee uniqueness of the request. Usually a mix of timestamp and a random number | **eds_id** | **str** | the ID of the external datastore for the target network | **signed_at_millis** | **int** | The timestamp in milliseconds when the HTTP Request payload has been signed | diff --git a/python/sdk/src/openapi_client/models/asset.py b/python/sdk/src/openapi_client/models/asset.py index fc530e57..2fa99584 100644 --- a/python/sdk/src/openapi_client/models/asset.py +++ b/python/sdk/src/openapi_client/models/asset.py @@ -29,7 +29,7 @@ class Asset(BaseModel): symbol: StrictStr = Field(description="The symbol of the asset.") quantity_e9: StrictStr = Field(description="The quantity of the asset.", alias="quantityE9") effective_balance_e9: StrictStr = Field(description="The effective balance of the asset.", alias="effectiveBalanceE9") - max_withdraw_quantity_e9: StrictStr = Field(description="The maximum quantity that can be withdrawn.", alias="maxWithdrawQuantityE9") + max_withdraw_quantity_e9: StrictStr = Field(description="The maximum quantity that can be withdrawn, in e9. It is not rounded to the asset's on-chain decimals; round it down to a multiple of 10^(9 - decimals) (1000 for USDC) before using it as a withdrawal amount.", alias="maxWithdrawQuantityE9") updated_at_millis: StrictInt = Field(description="The timestamp of the last update in milliseconds.", alias="updatedAtMillis") __properties: ClassVar[List[str]] = ["symbol", "quantityE9", "effectiveBalanceE9", "maxWithdrawQuantityE9", "updatedAtMillis"] diff --git a/python/sdk/src/openapi_client/models/withdraw_request_signed_fields.py b/python/sdk/src/openapi_client/models/withdraw_request_signed_fields.py index 392a433b..bc817638 100644 --- a/python/sdk/src/openapi_client/models/withdraw_request_signed_fields.py +++ b/python/sdk/src/openapi_client/models/withdraw_request_signed_fields.py @@ -28,7 +28,7 @@ class WithdrawRequestSignedFields(BaseModel): """ # noqa: E501 asset_symbol: StrictStr = Field(description="Asset symbol of the withdrawn asset", alias="assetSymbol") account_address: StrictStr = Field(description="The Account Address from which to withdraw assets", alias="accountAddress") - amount_e9: StrictStr = Field(description="The amount in e9 of the asset that the User will withdraw from their account", alias="amountE9") + amount_e9: StrictStr = Field(description="The amount in e9 of the asset that the User will withdraw from their account. Must be a whole number of the asset's smallest on-chain unit, i.e. a multiple of 10^(9 - decimals) where decimals is the asset's on-chain decimals (1000 for USDC, which has 6 decimals). Other amounts are rejected after the request is accepted, via a failed-command event. Round down to that multiple before submitting, including when withdrawing maxWithdrawQuantityE9.", alias="amountE9") salt: StrictStr = Field(description="A uniqueness modifier for the request. This is added to guarantee uniqueness of the request. Usually a mix of timestamp and a random number") eds_id: StrictStr = Field(description="the ID of the external datastore for the target network", alias="edsId") signed_at_millis: StrictInt = Field(description="The timestamp in milliseconds when the HTTP Request payload has been signed", alias="signedAtMillis") diff --git a/python/sdk/src/openapi_client_README.md b/python/sdk/src/openapi_client_README.md index f7384f8b..cc3d6532 100644 --- a/python/sdk/src/openapi_client_README.md +++ b/python/sdk/src/openapi_client_README.md @@ -4,7 +4,7 @@ Bluefin API The `openapi_client` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 1.0.0 -- Package version: 1.22.0 +- Package version: 1.23.0 - Generator version: 7.13.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen diff --git a/resources/common.yaml b/resources/common.yaml index 21e9f1f6..cafdb565 100644 --- a/resources/common.yaml +++ b/resources/common.yaml @@ -139,7 +139,10 @@ components: description: "The effective balance of the asset." maxWithdrawQuantityE9: type: string - description: "The maximum quantity that can be withdrawn." + description: >- + The maximum quantity that can be withdrawn, in e9. It is not rounded to the + asset's on-chain decimals; round it down to a multiple of 10^(9 - decimals) + (1000 for USDC) before using it as a withdrawal amount. updatedAtMillis: type: integer format: int64 diff --git a/resources/trade-api.yaml b/resources/trade-api.yaml index ef4d489a..2e6bf1a1 100644 --- a/resources/trade-api.yaml +++ b/resources/trade-api.yaml @@ -240,7 +240,13 @@ components: example: 0x000000000ABC amountE9: type: string - description: The amount in e9 of the asset that the User will withdraw from their account + description: >- + The amount in e9 of the asset that the User will withdraw from their account. + Must be a whole number of the asset's smallest on-chain unit, i.e. a multiple of + 10^(9 - decimals) where decimals is the asset's on-chain decimals (1000 for USDC, + which has 6 decimals). Other amounts are rejected after the request is accepted, + via a failed-command event. Round down to that multiple before submitting, + including when withdrawing maxWithdrawQuantityE9. example: 1000000000 salt: type: string diff --git a/rust/Cargo.toml b/rust/Cargo.toml index d772de0e..33137dff 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -9,7 +9,7 @@ sha2 = "0.10.9" [dependencies.bluefin_api] path = "gen/bluefin_api" -version = "1.22.0" +version = "1.23.0" [dependencies.ed25519-dalek] features = ["rand_core"] @@ -93,7 +93,7 @@ keywords = [ license = "Unlicense" name = "bluefin-pro" repository = "https://github.com/fireflyprotocol/pro-sdk" -version = "1.22.0" +version = "1.23.0" [workspace] members = [ diff --git a/rust/gen/bluefin_api/Cargo.toml b/rust/gen/bluefin_api/Cargo.toml index 96c1aaa0..24c6b1c6 100644 --- a/rust/gen/bluefin_api/Cargo.toml +++ b/rust/gen/bluefin_api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bluefin_api" -version = "1.22.0" +version = "1.23.0" authors = ["OpenAPI Generator team and contributors"] description = "Bluefin API" license = "MIT OR Apache-2.0" diff --git a/rust/gen/bluefin_api/README.md b/rust/gen/bluefin_api/README.md index f015184f..c5dcf08b 100644 --- a/rust/gen/bluefin_api/README.md +++ b/rust/gen/bluefin_api/README.md @@ -8,7 +8,7 @@ Bluefin API This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 1.0.0 -- Package version: 1.22.0 +- Package version: 1.23.0 - Generator version: 7.13.0 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` diff --git a/rust/gen/bluefin_api/docs/Asset.md b/rust/gen/bluefin_api/docs/Asset.md index 8fed1c03..10526684 100644 --- a/rust/gen/bluefin_api/docs/Asset.md +++ b/rust/gen/bluefin_api/docs/Asset.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **symbol** | **String** | The symbol of the asset. | **quantity_e9** | **String** | The quantity of the asset. | **effective_balance_e9** | **String** | The effective balance of the asset. | -**max_withdraw_quantity_e9** | **String** | The maximum quantity that can be withdrawn. | +**max_withdraw_quantity_e9** | **String** | The maximum quantity that can be withdrawn, in e9. It is not rounded to the asset's on-chain decimals; round it down to a multiple of 10^(9 - decimals) (1000 for USDC) before using it as a withdrawal amount. | **updated_at_millis** | **i64** | The timestamp of the last update in milliseconds. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/rust/gen/bluefin_api/docs/WithdrawRequestSignedFields.md b/rust/gen/bluefin_api/docs/WithdrawRequestSignedFields.md index 8e17d9ec..0441020d 100644 --- a/rust/gen/bluefin_api/docs/WithdrawRequestSignedFields.md +++ b/rust/gen/bluefin_api/docs/WithdrawRequestSignedFields.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **asset_symbol** | **String** | Asset symbol of the withdrawn asset | **account_address** | **String** | The Account Address from which to withdraw assets | -**amount_e9** | **String** | The amount in e9 of the asset that the User will withdraw from their account | +**amount_e9** | **String** | The amount in e9 of the asset that the User will withdraw from their account. Must be a whole number of the asset's smallest on-chain unit, i.e. a multiple of 10^(9 - decimals) where decimals is the asset's on-chain decimals (1000 for USDC, which has 6 decimals). Other amounts are rejected after the request is accepted, via a failed-command event. Round down to that multiple before submitting, including when withdrawing maxWithdrawQuantityE9. | **salt** | **String** | A uniqueness modifier for the request. This is added to guarantee uniqueness of the request. Usually a mix of timestamp and a random number | **eds_id** | **String** | the ID of the external datastore for the target network | **signed_at_millis** | **i64** | The timestamp in milliseconds when the HTTP Request payload has been signed | diff --git a/rust/gen/bluefin_api/src/models/asset.rs b/rust/gen/bluefin_api/src/models/asset.rs index 1fb7e72c..a2c1b002 100644 --- a/rust/gen/bluefin_api/src/models/asset.rs +++ b/rust/gen/bluefin_api/src/models/asset.rs @@ -23,7 +23,7 @@ pub struct Asset { /// The effective balance of the asset. #[serde(rename = "effectiveBalanceE9")] pub effective_balance_e9: String, - /// The maximum quantity that can be withdrawn. + /// The maximum quantity that can be withdrawn, in e9. It is not rounded to the asset's on-chain decimals; round it down to a multiple of 10^(9 - decimals) (1000 for USDC) before using it as a withdrawal amount. #[serde(rename = "maxWithdrawQuantityE9")] pub max_withdraw_quantity_e9: String, /// The timestamp of the last update in milliseconds. diff --git a/rust/gen/bluefin_api/src/models/withdraw_request_signed_fields.rs b/rust/gen/bluefin_api/src/models/withdraw_request_signed_fields.rs index ca8a1c5a..bf455509 100644 --- a/rust/gen/bluefin_api/src/models/withdraw_request_signed_fields.rs +++ b/rust/gen/bluefin_api/src/models/withdraw_request_signed_fields.rs @@ -19,7 +19,7 @@ pub struct WithdrawRequestSignedFields { /// The Account Address from which to withdraw assets #[serde(rename = "accountAddress")] pub account_address: String, - /// The amount in e9 of the asset that the User will withdraw from their account + /// The amount in e9 of the asset that the User will withdraw from their account. Must be a whole number of the asset's smallest on-chain unit, i.e. a multiple of 10^(9 - decimals) where decimals is the asset's on-chain decimals (1000 for USDC, which has 6 decimals). Other amounts are rejected after the request is accepted, via a failed-command event. Round down to that multiple before submitting, including when withdrawing maxWithdrawQuantityE9. #[serde(rename = "amountE9")] pub amount_e9: String, /// A uniqueness modifier for the request. This is added to guarantee uniqueness of the request. Usually a mix of timestamp and a random number diff --git a/rust/gen/config.yaml b/rust/gen/config.yaml index b2ecb874..695ee597 100644 --- a/rust/gen/config.yaml +++ b/rust/gen/config.yaml @@ -2,5 +2,5 @@ additionalProperties: hideGenerationTimestamp: 'true' avoidBoxedModels: 'true' packageName: bluefin_api - packageVersion: 1.22.0 + packageVersion: 1.23.0 preferUnsignedInt: 'true' diff --git a/ts/sdk/package.json b/ts/sdk/package.json index 48c7a429..7f8da7ff 100644 --- a/ts/sdk/package.json +++ b/ts/sdk/package.json @@ -59,5 +59,5 @@ }, "type": "module", "types": "./dist/index.d.ts", - "version": "2.4.0" + "version": "2.5.0" } \ No newline at end of file diff --git a/ts/sdk/src/api.ts b/ts/sdk/src/api.ts index b2297e8c..35b9e015 100644 --- a/ts/sdk/src/api.ts +++ b/ts/sdk/src/api.ts @@ -1754,7 +1754,7 @@ export interface Asset { */ 'effectiveBalanceE9': string; /** - * The maximum quantity that can be withdrawn. + * The maximum quantity that can be withdrawn, in e9. It is not rounded to the asset\'s on-chain decimals; round it down to a multiple of 10^(9 - decimals) (1000 for USDC) before using it as a withdrawal amount. * @type {string} * @memberof Asset */ @@ -6106,7 +6106,7 @@ export interface WithdrawRequestSignedFields { */ 'accountAddress': string; /** - * The amount in e9 of the asset that the User will withdraw from their account + * The amount in e9 of the asset that the User will withdraw from their account. Must be a whole number of the asset\'s smallest on-chain unit, i.e. a multiple of 10^(9 - decimals) where decimals is the asset\'s on-chain decimals (1000 for USDC, which has 6 decimals). Other amounts are rejected after the request is accepted, via a failed-command event. Round down to that multiple before submitting, including when withdrawing maxWithdrawQuantityE9. * @type {string} * @memberof WithdrawRequestSignedFields */ diff --git a/ts/sdk/src/docs/Asset.md b/ts/sdk/src/docs/Asset.md index 2e4f015a..349627b3 100644 --- a/ts/sdk/src/docs/Asset.md +++ b/ts/sdk/src/docs/Asset.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **symbol** | **string** | The symbol of the asset. | [default to undefined] **quantityE9** | **string** | The quantity of the asset. | [default to undefined] **effectiveBalanceE9** | **string** | The effective balance of the asset. | [default to undefined] -**maxWithdrawQuantityE9** | **string** | The maximum quantity that can be withdrawn. | [default to undefined] +**maxWithdrawQuantityE9** | **string** | The maximum quantity that can be withdrawn, in e9. It is not rounded to the asset\'s on-chain decimals; round it down to a multiple of 10^(9 - decimals) (1000 for USDC) before using it as a withdrawal amount. | [default to undefined] **updatedAtMillis** | **number** | The timestamp of the last update in milliseconds. | [default to undefined] ## Example diff --git a/ts/sdk/src/docs/WithdrawRequestSignedFields.md b/ts/sdk/src/docs/WithdrawRequestSignedFields.md index abc5d7cb..0059f72f 100644 --- a/ts/sdk/src/docs/WithdrawRequestSignedFields.md +++ b/ts/sdk/src/docs/WithdrawRequestSignedFields.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **assetSymbol** | **string** | Asset symbol of the withdrawn asset | [default to undefined] **accountAddress** | **string** | The Account Address from which to withdraw assets | [default to undefined] -**amountE9** | **string** | The amount in e9 of the asset that the User will withdraw from their account | [default to undefined] +**amountE9** | **string** | The amount in e9 of the asset that the User will withdraw from their account. Must be a whole number of the asset\'s smallest on-chain unit, i.e. a multiple of 10^(9 - decimals) where decimals is the asset\'s on-chain decimals (1000 for USDC, which has 6 decimals). Other amounts are rejected after the request is accepted, via a failed-command event. Round down to that multiple before submitting, including when withdrawing maxWithdrawQuantityE9. | [default to undefined] **salt** | **string** | A uniqueness modifier for the request. This is added to guarantee uniqueness of the request. Usually a mix of timestamp and a random number | [default to undefined] **edsId** | **string** | the ID of the external datastore for the target network | [default to undefined] **signedAtMillis** | **number** | The timestamp in milliseconds when the HTTP Request payload has been signed | [default to undefined] From e56ccfdd0939d13794c383b6bd93f7f667f6e511 Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 9 Nov 2026 17:25:29 -0600 Subject: [PATCH 2/2] fix: address review comments - rust/Cargo.lock: lock bluefin-pro and bluefin_api at 1.23.0 to match the manifests Co-Authored-By: Claude Opus 5.5 --- rust/Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 5e8bcd7d..dc73ff69 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -121,7 +121,7 @@ dependencies = [ [[package]] name = "bluefin-pro" -version = "1.22.0" +version = "1.23.0" dependencies = [ "base64", "bcs", @@ -146,7 +146,7 @@ dependencies = [ [[package]] name = "bluefin_api" -version = "1.22.0" +version = "1.23.0" dependencies = [ "reqwest", "serde",