@@ -7,7 +7,7 @@ def accounts(self, stake_address: str, **kwargs):
77 """
88 Obtain information about a specific networkStake account.
99
10- https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1 {stake_address}/get
10+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/ {stake_address}
1111
1212 :param stake_address: Bech32 stake address.
1313 :type stake_address: str
@@ -29,7 +29,7 @@ def account_rewards(self, stake_address: str, **kwargs):
2929 """
3030 Obtain information about the history of a specific account.
3131
32- https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1 {stake_address}~1rewards/get
32+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/ {stake_address}/rewards
3333
3434 :param stake_address: Bech32 stake address.
3535 :type stake_address: str
@@ -60,7 +60,7 @@ def account_history(self, stake_address: str, **kwargs):
6060 """
6161 Obtain information about the history of a specific account.
6262
63- https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1 {stake_address}~1history/get
63+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/ {stake_address}/history
6464
6565 :param stake_address: Bech32 stake address.
6666 :type stake_address: str
@@ -91,7 +91,7 @@ def account_delegations(self, stake_address: str, **kwargs):
9191 """
9292 Obtain information about the delegation of a specific account.
9393
94- https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1 {stake_address}~1delegations/get
94+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/ {stake_address}/delegations
9595
9696 :param stake_address: Bech32 stake address.
9797 :type stake_address: str
@@ -122,7 +122,7 @@ def account_registrations(self, stake_address: str, **kwargs):
122122 """
123123 Obtain information about the registrations and deregistrations of a specific account.
124124
125- https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1 {stake_address}~1registrations/get
125+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/ {stake_address}/registrations
126126
127127 :param stake_address: Bech32 stake address.
128128 :type stake_address: str
@@ -153,7 +153,7 @@ def account_withdrawals(self, stake_address: str, **kwargs):
153153 """
154154 Obtain information about the withdrawals of a specific account.
155155
156- https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1 {stake_address}~1withdrawals/get
156+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/ {stake_address}/withdrawals
157157
158158 :param stake_address: Bech32 stake address.
159159 :type stake_address: str
@@ -184,7 +184,7 @@ def account_mirs(self, stake_address: str, **kwargs):
184184 """
185185 Obtain information about the MIRs of a specific account.
186186
187- https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1 {stake_address}~1mirs/get
187+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/ {stake_address}/mirs
188188
189189 :param stake_address: Bech32 stake address.
190190 :type stake_address: str
@@ -215,7 +215,7 @@ def account_addresses(self, stake_address: str, **kwargs):
215215 """
216216 Obtain information about the addresses of a specific account.
217217
218- https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1 {stake_address}~1addresses/get
218+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/ {stake_address}/addresses
219219
220220 :param stake_address: Bech32 stake address.
221221 :type stake_address: str
@@ -248,7 +248,7 @@ def account_addresses_assets(self, stake_address: str, **kwargs):
248248
249249 Be careful, as an account could be part of a mangled address and does not necessarily mean the addresses are owned by user as the account.
250250
251- https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1 {stake_address}~1addresses~1assets/get
251+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/ {stake_address}/addresses/assets
252252
253253 :param stake_address: Bech32 stake address.
254254 :type stake_address: str
@@ -274,14 +274,76 @@ def account_addresses_assets(self, stake_address: str, **kwargs):
274274 )
275275
276276
277+ @list_request_wrapper
278+ def account_utxos (self , stake_address : str , ** kwargs ):
279+ """
280+ Obtain information about UTXOs of a specific account.
281+
282+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/{stake_address}/utxos
283+
284+ :param stake_address: Bech32 stake address.
285+ :type stake_address: str
286+ :param return_type: Optional. "object", "json" or "pandas". Default: "object".
287+ :type return_type: str
288+ :param gather_pages: Optional. Default: false. Will collect all pages into one return
289+ :type gather_pages: bool
290+ :param count: Optional. Default: 100. The number of results displayed on one page.
291+ :type count: int
292+ :param page: Optional. The page number for listing the results.
293+ :type page: int
294+ :param order: Optional. "asc" or "desc". Default: "asc".
295+ :type order: str
296+ :returns A list of objects.
297+ :rtype [Namespace]
298+ :raises ApiError: If API fails
299+ :raises Exception: If the API response is somehow malformed.
300+ """
301+ return requests .get (
302+ url = f"{ self .url } /accounts/{ stake_address } /utxos" ,
303+ params = self .query_parameters (kwargs ),
304+ headers = self .default_headers
305+ )
306+
307+
308+ @list_request_wrapper
309+ def account_transactions (self , stake_address : str , ** kwargs ):
310+ """
311+ Obtain information about transactions associated with a specific account.
312+
313+ https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/{stake_address}/transactions
314+
315+ :param stake_address: Bech32 stake address.
316+ :type stake_address: str
317+ :param return_type: Optional. "object", "json" or "pandas". Default: "object".
318+ :type return_type: str
319+ :param gather_pages: Optional. Default: false. Will collect all pages into one return
320+ :type gather_pages: bool
321+ :param count: Optional. Default: 100. The number of results displayed on one page.
322+ :type count: int
323+ :param page: Optional. The page number for listing the results.
324+ :type page: int
325+ :param order: Optional. "asc" or "desc". Default: "asc".
326+ :type order: str
327+ :returns A list of objects.
328+ :rtype [Namespace]
329+ :raises ApiError: If API fails
330+ :raises Exception: If the API response is somehow malformed.
331+ """
332+ return requests .get (
333+ url = f"{ self .url } /accounts/{ stake_address } /transactions" ,
334+ params = self .query_parameters (kwargs ),
335+ headers = self .default_headers
336+ )
337+
338+
277339@request_wrapper
278340def account_addresses_total (self , stake_address : str , ** kwargs ):
279341 """
280342 Obtain summed details about all addresses associated with a given account.
281343
282344 Be careful, as an account could be part of a mangled address and does not necessarily mean the addresses are owned by user as the account.
283345
284- https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1accounts~1 {stake_address}~1addresses~1total/get
346+ https://docs.blockfrost.io/#tag/cardano--addresses/GET/accounts/ {stake_address}/addresses/total
285347
286348 :param stake_address: Bech32 address.
287349 :type stake_address: str
0 commit comments