@@ -108,7 +108,7 @@ def get_box(box_id: str) -> Dict[str, Any]:
108108 box_id (str): Box ID
109109
110110 Returns:
111- Dict[str, Any]: Ergo box details
111+ Dict[str, Any]: Ergo box details with Erg token values using 9 decimal places
112112 """
113113 endpoint = f"/api/v1/boxes/{ box_id } "
114114 return _make_request (endpoint )
@@ -124,7 +124,7 @@ def get_unspent_boxes_by_last_epochs(last_epochs: int) -> Dict[str, Any]:
124124 last_epochs (int): Number of last epochs (max 1536)
125125
126126 Returns:
127- Dict[str, Any]: List of unspent Ergo boxes
127+ Dict[str, Any]: List of unspent Ergo boxes with Erg token values using 9 decimal places
128128 """
129129 endpoint = "/api/v1/boxes/unspent/byLastEpochs/stream"
130130 params = {
@@ -144,7 +144,7 @@ def get_unspent_boxes_by_global_index(min_gix: int, limit: int) -> Dict[str, Any
144144 limit (int): Maximum number of items to retrieve (max 500)
145145
146146 Returns:
147- Dict[str, Any]: List of unspent Ergo boxes
147+ Dict[str, Any]: List of unspent Ergo boxes with Erg token values using 9 decimal places
148148 """
149149 endpoint = "/api/v1/boxes/unspent/byGlobalIndex/stream"
150150 params = {
@@ -165,7 +165,7 @@ def get_unspent_boxes_stream(min_height: int, max_height: int) -> Dict[str, Any]
165165 max_height (int): Maximum block height
166166
167167 Returns:
168- Dict[str, Any]: List of unspent Ergo boxes
168+ Dict[str, Any]: List of unspent Ergo boxes with Erg token values using 9 decimal places
169169 """
170170 endpoint = "/api/v1/boxes/unspent/stream"
171171 params = {
@@ -187,7 +187,7 @@ def get_boxes_by_ergo_tree_template_hash_stream(hash: str, min_height: int, max_
187187 max_height (int): Maximum block height
188188
189189 Returns:
190- Dict[str, Any]: List of Ergo boxes
190+ Dict[str, Any]: List of Ergo boxes with Erg token values using 9 decimal places
191191 """
192192 endpoint = f"/api/v1/boxes/byErgoTreeTemplateHash/{ hash } /stream"
193193 params = {
@@ -209,7 +209,7 @@ def get_unspent_boxes_by_ergo_tree_template_hash_stream(hash: str, min_height: i
209209 max_height (int): Maximum block height
210210
211211 Returns:
212- Dict[str, Any]: List of unspent Ergo boxes
212+ Dict[str, Any]: List of unspent Ergo boxes with Erg token values using 9 decimal places
213213 """
214214 endpoint = f"/api/v1/boxes/unspent/byErgoTreeTemplateHash/{ hash } /stream"
215215 params = {
@@ -232,7 +232,7 @@ def get_unspent_boxes_by_token_id(token_id: str, offset: int = 0, limit: int = 5
232232 sort_direction (str): Sort direction, "asc" or "desc"
233233
234234 Returns:
235- Dict[str, Any]: List of unspent Ergo boxes containing the token
235+ Dict[str, Any]: List of unspent Ergo boxes containing the token with Erg token values using 9 decimal places
236236 """
237237 endpoint = f"/api/v1/boxes/unspent/byTokenId/{ token_id } "
238238 params = {
@@ -255,7 +255,7 @@ def get_boxes_by_token_id(token_id: str, offset: int = 0, limit: int = 50) -> Di
255255 limit (int): Number of items per page (max 100)
256256
257257 Returns:
258- Dict[str, Any]: List of Ergo boxes containing the token
258+ Dict[str, Any]: List of Ergo boxes containing the token with Erg token values using 9 decimal places
259259 """
260260 endpoint = f"/api/v1/boxes/byTokenId/{ token_id } "
261261 params = {
@@ -277,7 +277,7 @@ def get_boxes_by_ergo_tree(ergo_tree: str, offset: int = 0, limit: int = 100) ->
277277 limit (int): Number of items per page (max 500)
278278
279279 Returns:
280- Dict[str, Any]: List of Ergo boxes
280+ Dict[str, Any]: List of Ergo boxes with Erg token values using 9 decimal places
281281 """
282282 endpoint = f"/api/v1/boxes/byErgoTree/{ ergo_tree } "
283283 params = {
@@ -299,7 +299,7 @@ def get_boxes_by_ergo_tree_template_hash(hash: str, offset: int = 0, limit: int
299299 limit (int): Number of items per page (max 500)
300300
301301 Returns:
302- Dict[str, Any]: List of Ergo boxes
302+ Dict[str, Any]: List of Ergo boxes with Erg token values using 9 decimal places
303303 """
304304 endpoint = f"/api/v1/boxes/byErgoTreeTemplateHash/{ hash } "
305305 params = {
@@ -322,7 +322,7 @@ def get_unspent_boxes_by_ergo_tree(ergo_tree: str, offset: int = 0, limit: int =
322322 sort_direction (str): Sort direction, "asc" or "desc"
323323
324324 Returns:
325- Dict[str, Any]: List of unspent Ergo boxes
325+ Dict[str, Any]: List of unspent Ergo boxes with Erg token values using 9 decimal places
326326 """
327327 endpoint = f"/api/v1/boxes/unspent/byErgoTree/{ ergo_tree } "
328328 params = {
@@ -345,7 +345,7 @@ def get_unspent_boxes_by_ergo_tree_template_hash(hash: str, offset: int = 0, lim
345345 limit (int): Number of items per page (max 500)
346346
347347 Returns:
348- Dict[str, Any]: List of unspent Ergo boxes
348+ Dict[str, Any]: List of unspent Ergo boxes with Erg token values using 9 decimal places
349349 """
350350 endpoint = f"/api/v1/boxes/unspent/byErgoTreeTemplateHash/{ hash } "
351351 params = {
@@ -367,7 +367,7 @@ def get_boxes_by_address(address: str, offset: int = 0, limit: int = 100) -> Dic
367367 limit (int): Number of items per page (max 500)
368368
369369 Returns:
370- Dict[str, Any]: List of Ergo boxes
370+ Dict[str, Any]: List of Ergo boxes with Erg token values using 9 decimal places
371371 """
372372 endpoint = f"/api/v1/boxes/byAddress/{ address } "
373373 params = {
@@ -388,7 +388,7 @@ def get_unconfirmed_unspent_boxes_by_address(address: str, sort_direction: str =
388388 sort_direction (str): Sort direction, "asc" or "desc"
389389
390390 Returns:
391- Dict[str, Any]: List of unconfirmed unspent Ergo boxes
391+ Dict[str, Any]: List of unconfirmed unspent Ergo boxes with Erg token values using 9 decimal places
392392 """
393393 endpoint = f"/api/v1/boxes/unspent/unconfirmed/byAddress/{ address } "
394394 params = {
@@ -410,7 +410,7 @@ def get_unspent_boxes_by_address(address: str, offset: int = 0, limit: int = 100
410410 sort_direction (str): Sort direction, "asc" or "desc"
411411
412412 Returns:
413- Dict[str, Any]: List of unspent Ergo boxes
413+ Dict[str, Any]: List of unspent Ergo boxes with Erg token values using 9 decimal places
414414 """
415415 endpoint = f"/api/v1/boxes/unspent/byAddress/{ address } "
416416 params = {
@@ -436,7 +436,7 @@ def get_tokens(offset: int = 0, limit: int = 100, sort_direction: str = "desc",
436436 hide_nfts (bool): Whether to exclude NFTs from results
437437
438438 Returns:
439- Dict[str, Any]: List of Ergo tokens
439+ Dict[str, Any]: List of Ergo tokens with decimal places (typically 9 for Ergo tokens)
440440 """
441441 endpoint = "/api/v1/tokens"
442442 params = {
@@ -460,7 +460,7 @@ def search_tokens(query: str, offset: int = 0, limit: int = 100) -> Dict[str, An
460460 limit (int): Number of items per page (max 500)
461461
462462 Returns:
463- Dict[str, Any]: List of matching Ergo tokens
463+ Dict[str, Any]: List of matching Ergo tokens with decimal places (typically 9 for Ergo tokens)
464464 """
465465 endpoint = "/api/v1/tokens/search"
466466 params = {
@@ -481,7 +481,7 @@ def get_tokens_by_symbol(symbol: str) -> Dict[str, Any]:
481481 symbol (str): Token symbol
482482
483483 Returns:
484- Dict[str, Any]: List of Ergo tokens with the given symbol
484+ Dict[str, Any]: List of Ergo tokens with the given symbol with decimal places (typically 9 for Ergo tokens)
485485 """
486486 endpoint = f"/api/v1/tokens/bySymbol/{ symbol } "
487487 return _make_request (endpoint )
@@ -497,7 +497,7 @@ def get_token(token_id: str) -> Dict[str, Any]:
497497 token_id (str): Token ID
498498
499499 Returns:
500- Dict[str, Any]: Ergo token details
500+ Dict[str, Any]: Ergo token details with decimal places (typically 9 for Ergo tokens)
501501 """
502502 endpoint = f"/api/v1/tokens/{ token_id } "
503503 return _make_request (endpoint )
@@ -516,7 +516,7 @@ def get_assets(offset: int = 0, limit: int = 100, sort_direction: str = "desc",
516516 hide_nfts (bool): Whether to exclude NFTs from results
517517
518518 Returns:
519- Dict[str, Any]: List of Ergo assets
519+ Dict[str, Any]: List of Ergo assets with decimal places (typically 9 for Ergo tokens)
520520 """
521521 endpoint = "/api/v1/assets"
522522 params = {
@@ -540,7 +540,7 @@ def search_assets_by_token_id(query: str, offset: int = 0, limit: int = 100) ->
540540 limit (int): Number of items per page (max 500)
541541
542542 Returns:
543- Dict[str, Any]: List of matching Ergo assets
543+ Dict[str, Any]: List of matching Ergo assets with decimal places (typically 9 for Ergo tokens)
544544 """
545545 endpoint = "/api/v1/assets/search/byTokenId"
546546 params = {
@@ -590,7 +590,7 @@ def get_address_transactions(
590590 to_height (int, optional): Maximum block height
591591
592592 Returns:
593- Dict[str, Any]: List of Ergo transactions for the address
593+ Dict[str, Any]: List of Ergo transactions for the address with token values using 9 decimal places
594594 """
595595 endpoint = f"/api/v1/addresses/{ address } /transactions"
596596 params = {
@@ -617,7 +617,7 @@ def get_address_balance_confirmed(address: str, min_confirmations: Optional[int]
617617 min_confirmations (int, optional): Minimum number of confirmations
618618
619619 Returns:
620- Dict[str, Any]: Confirmed Ergo balance for the address
620+ Dict[str, Any]: Confirmed Ergo balance for the address with token values using 9 decimal places
621621 """
622622 endpoint = f"/api/v1/addresses/{ address } /balance/confirmed"
623623 params = {}
@@ -637,7 +637,7 @@ def get_address_balance_total(address: str) -> Dict[str, Any]:
637637 address (str): Ergo blockchain address
638638
639639 Returns:
640- Dict[str, Any]: Total Ergo balance for the address including confirmed and unconfirmed
640+ Dict[str, Any]: Total Ergo balance for the address including confirmed and unconfirmed with token values using 9 decimal places
641641 """
642642 endpoint = f"/api/v1/addresses/{ address } /balance/total"
643643 return _make_request (endpoint )
0 commit comments