diff --git a/crypto_com_developer_platform_client/integrations/wallet_api.py b/crypto_com_developer_platform_client/integrations/wallet_api.py index fbcc51e..cae5ca0 100644 --- a/crypto_com_developer_platform_client/integrations/wallet_api.py +++ b/crypto_com_developer_platform_client/integrations/wallet_api.py @@ -40,7 +40,7 @@ def get_balance(chain_id: str, address: str, api_key: str) -> ApiResponse: :raises Exception: If the fetch request fails or the server responds with an error message. """ url = f"""https://developer-platform-api.crypto.com/v1/cdc-developer-platform/wallet/{ - chain_id}/balance?address={address}&api_key={api_key}""" + chain_id}/balance?address={address}&apiKey={api_key}""" try: response = requests.get( diff --git a/pyproject.toml b/pyproject.toml index 24f9f29..b552d62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,4 +45,4 @@ exclude = ''' profile = "black" [tool.poetry.scripts] -cryptocom-developer-platform-client = "cryptocom-developer-platform-client.cli:main" +cryptocom-developer-platform-client = "crypto_com_developer_platform_client.cli:main"