Skip to content

Commit b4b012b

Browse files
authored
Merge pull request #263 from fireflyprotocol/kevin/BFP-4068-introduce-get-accounts-value-history
BFP-4068: Introduce GET /accounts/$addr/valueHistory
2 parents 90c1d75 + 65d57a9 commit b4b012b

25 files changed

+656
-19
lines changed

.apigen-state

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"version": "1",
33
"algorithm": "sha256",
4-
"generated_at": "2026-03-04T16:13:45.226938Z",
4+
"generated_at": "2026-03-05T23:55:17.167655Z",
55
"spec_files": {
6-
"resources/account-data-api.yaml": "049cebc90a2fcd21f63ed51facf6a818c79076fe495f58ac67ebbab643232e76",
6+
"resources/account-data-api.yaml": "2d366acf63b1412c3b49583b22aea07829f297332ebd1b0680954d0d248f2998",
77
"resources/auth-api.yaml": "d323937afd8fd9431a1075bb7ae06a28181848afd6e5278675b9a2945b9257c1",
8-
"resources/bluefin-api.yaml": "aa5ac52d740db0bfedb48ff771e06503a81fe80fb99b78229ca8b8b1d6b38b3f",
8+
"resources/bluefin-api.yaml": "114c8ea5a7cb58d0a53f54a8fbfe4a7c9616bfb0286a951afa057906ebd69179",
99
"resources/common.yaml": "f0140950057e524457e5197c5b20bf8d74342e596378043ff8b4c75b5a3fc036",
1010
"resources/exchange-api.yaml": "01fdc7056531ec2e71a16c3c982a0776cbe3f5af1444bd264a536457a2b023b0",
1111
"resources/rewards-data-api.yaml": "2c715683d080ad11aa7667d81e36b1f36839da5d2af1bd3ce0d164db6f19cb0c",
1212
"resources/trade-api.yaml": "229ac3d9a7a30b640db928cc5d99cddc4e185e70b76e7c0d7273f94225cd1d37",
1313
"resources/websocket-api.yaml": "eefb5b151d020ca372577927bb740b3bf1206cc2d31f8c0d8763bf6e56590330"
1414
},
15-
"combined_hash": "a369d55f5e2db4cead034a8ae93880d1cf0bf225c718294971ff09b5f361cf70"
15+
"combined_hash": "b3302fab766eb83e18aa45e231fc8b46355440fcc5982be675d11b410782b680"
1616
}

python/example/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ async def main():
163163
)
164164
log.info(f"{account_value_history=}")
165165

166+
account_value_history_by_account = await account_data_api.get_account_value_history_by_account(
167+
account_address=sui_wallet.sui_address
168+
)
169+
log.info(f"{account_value_history_by_account=}")
170+
166171
# Subscribe to WebSockets and log events as they arrive.
167172
async with await client.create_account_data_stream_listener(
168173
handler=log_update

python/sdk/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ additionalProperties:
22
library: asyncio
33
generateSourceCodeOnly: true
44
useOneOfDiscriminatorLookup: true
5-
packageVersion: 1.11.0
5+
packageVersion: 1.12.0

python/sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ description = "Python Boilerplate contains all the boilerplate you need to creat
2121
name = "bluefin_pro_sdk"
2222
readme = "README.rst"
2323
requires-python = ">=3.9.2,<3.13.0"
24-
version = "1.11.0"
24+
version = "1.12.0"
2525

2626
[[project.authors]]
2727
email = "audreyr@example.com"

python/sdk/src/openapi_client/__init__.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/sdk/src/openapi_client/api/account_data_api.py

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

python/sdk/src/openapi_client/api_client.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/sdk/src/openapi_client/configuration.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)