We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33b90a6 commit 7e86eb7Copy full SHA for 7e86eb7
pycardano/backend/ogmios.py
@@ -233,6 +233,9 @@ def _utxos_kupo(self, address: str) -> List[UTxO]:
233
Returns:
234
List[UTxO]: A list of UTxOs.
235
"""
236
+ if self._kupo_url is None:
237
+ raise AssertionError("kupo_url object attribute has not been assigned properly.")
238
+
239
address_url = self._kupo_url + "/" + address
240
results = requests.get(address_url).json()
241
0 commit comments