Skip to content

Commit 32f32fe

Browse files
committed
Use txslight params in address details query
Updated the address details endpoint to use 'params_txslight' instead of 'params_basic' when building the request URL. This likely enables fetching more detailed or lightweight transaction information for the address.
1 parent 1dac561 commit 32f32fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/address_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
def get_address_details(address: str, page: int = 1, per_page: int = 10) -> Optional[Dict[str, Any]]:
2020
"""Get address information with transaction details"""
2121
try:
22-
url = f"{node_url}{addr_query}{address}{params_basic}"
22+
url = f"{node_url}{addr_query}{address}{params_txslight}"
2323
addr = make_request(url)
2424
if not addr:
2525
return None

0 commit comments

Comments
 (0)