Skip to content

Commit 5e9046a

Browse files
committed
fix: use str instead of float to preserve precision in large numerical values
1 parent fcb3730 commit 5e9046a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/sdk/query/responses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,5 @@ class MessagesResponse(PaginationResponse):
7777
class PriceResponse(BaseModel):
7878
"""Response from an aleph.im node API on the path /api/v0/price/{item_hash}"""
7979

80-
required_tokens: float
80+
required_tokens: str
8181
payment_type: str

0 commit comments

Comments
 (0)