Skip to content

Commit cc5bf6f

Browse files
committed
chore: update docs urls
1 parent 06f736b commit cc5bf6f

18 files changed

Lines changed: 110 additions & 110 deletions

blockfrost/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def root(self, **kwargs):
2323
"""
2424
Root endpoint has no other function than to point end users to documentation.
2525
26-
https://docs.blockfrost.io/#tag/Health/paths/~1/get
26+
https://docs.blockfrost.io/#tag/health/GET/
2727
:param return_type: Optional. "object", "json" or "pandas". Default: "object".
2828
:type return_type: str
2929
:returns RootResponse object.

blockfrost/api/cardano/accounts.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -279,7 +279,7 @@ def account_utxos(self, stake_address: str, **kwargs):
279279
"""
280280
Obtain information about UTXOs of a specific account.
281281
282-
https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1{stake_address}~1utxos/get
282+
https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/{stake_address}/utxos
283283
284284
:param stake_address: Bech32 stake address.
285285
:type stake_address: str
@@ -310,7 +310,7 @@ def account_transactions(self, stake_address: str, **kwargs):
310310
"""
311311
Obtain information about transactions associated with a specific account.
312312
313-
https://docs.blockfrost.io/#tag/Cardano-Accounts/paths/~1accounts~1{stake_address}~1transactions/get
313+
https://docs.blockfrost.io/#tag/cardano--accounts/GET/accounts/{stake_address}/transactions
314314
315315
:param stake_address: Bech32 stake address.
316316
:type stake_address: str
@@ -343,7 +343,7 @@ def account_addresses_total(self, stake_address: str, **kwargs):
343343
344344
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.
345345
346-
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
347347
348348
:param stake_address: Bech32 address.
349349
:type stake_address: str

blockfrost/api/cardano/addresses.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def address(self, address: str, **kwargs):
77
"""
88
Obtain information about a specific address.
99
10-
https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1{address}/get
10+
https://docs.blockfrost.io/#tag/cardano--addresses/GET/addresses/{address}
1111
1212
:param address: Bech32 address.
1313
:type address: str
@@ -29,7 +29,7 @@ def address_extended(self, address: str, **kwargs):
2929
"""
3030
Obtain information about a specific address.
3131
32-
https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1{address}~1extended/get
32+
https://docs.blockfrost.io/#tag/cardano--addresses/GET/addresses/{address}/extended
3333
3434
:param address: Bech32 address.
3535
:type address: str
@@ -51,7 +51,7 @@ def address_total(self, address: str, **kwargs):
5151
"""
5252
Obtain details about an address.
5353
54-
https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1{address}~1total/get
54+
https://docs.blockfrost.io/#tag/cardano--addresses/GET/addresses/{address}/total
5555
5656
:param address: Bech32 address.
5757
:type address: str
@@ -73,7 +73,7 @@ def address_utxos(self, address: str, **kwargs):
7373
"""
7474
UTXOs of the address.
7575
76-
https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1{address}~1utxos/get
76+
https://docs.blockfrost.io/#tag/cardano--addresses/GET/addresses/{address}/utxos
7777
7878
:param address: Bech32 address.
7979
:type address: str
@@ -104,7 +104,7 @@ def address_utxos_asset(self, address: str, asset: str, **kwargs):
104104
"""
105105
UTXOs of the address.
106106
107-
https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1{address}~1utxos~1{asset}/get
107+
https://docs.blockfrost.io/#tag/cardano--addresses/GET/addresses/{address}/utxos/{asset}
108108
109109
:param address: Bech32 address.
110110
:type address: str
@@ -138,7 +138,7 @@ def address_transactions(self, address: str, from_block: str = None, to_block: s
138138
"""
139139
Transactions on the address.
140140
141-
https://docs.blockfrost.io/#tag/Cardano-Addresses/paths/~1addresses~1{address}~1transactions/get
141+
https://docs.blockfrost.io/#tag/cardano--addresses/GET/addresses/{address}/transactions
142142
143143
:param address: Bech32 address.
144144
:type address: str

blockfrost/api/cardano/assets.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def assets(self, **kwargs):
77
"""
88
List of assets.
99
10-
https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets/get
10+
https://docs.blockfrost.io/#tag/cardano--assets/GET/assets
1111
1212
:param return_type: Optional. "object", "json" or "pandas". Default: "object".
1313
:type return_type: str
@@ -36,7 +36,7 @@ def asset(self, asset: str, **kwargs):
3636
"""
3737
Information about a specific asset
3838
39-
https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}/get
39+
https://docs.blockfrost.io/#tag/cardano--assets/GET/assets/{asset}
4040
4141
:param asset: Concatenation of the policy_id and hex-encoded asset_name.
4242
:type asset: str
@@ -58,7 +58,7 @@ def asset_history(self, asset: str, **kwargs):
5858
"""
5959
History of a specific asset
6060
61-
https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}~1history/get
61+
https://docs.blockfrost.io/#tag/cardano--assets/GET/assets/{asset}/history
6262
6363
:param asset: Concatenation of the policy_id and hex-encoded asset_name.
6464
:type asset: str
@@ -89,7 +89,7 @@ def asset_transactions(self, asset: str, **kwargs):
8989
"""
9090
List of a specific asset transactions
9191
92-
https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}~1transactions/get
92+
https://docs.blockfrost.io/#tag/cardano--assets/GET/assets/{asset}/transactions
9393
9494
:param asset: Concatenation of the policy_id and hex-encoded asset_name.
9595
:type asset: str
@@ -120,7 +120,7 @@ def asset_addresses(self, asset: str, **kwargs):
120120
"""
121121
List of a addresses containing a specific asset
122122
123-
https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}~1addresses/get
123+
https://docs.blockfrost.io/#tag/cardano--assets/GET/assets/{asset}/addresses
124124
125125
:param asset: Concatenation of the policy_id and hex-encoded asset_name.
126126
:type asset: str
@@ -151,7 +151,7 @@ def assets_policy(self, policy_id: str, **kwargs):
151151
"""
152152
List of asset minted under a specific policy
153153
154-
https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1policy~1{policy_id}/get
154+
https://docs.blockfrost.io/#tag/cardano--assets/GET/assets/policy/{policy_id}
155155
156156
:param policy_id: Specific policy_id.
157157
:type policy_id: str

blockfrost/api/cardano/blocks.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def block_latest(self, **kwargs):
77
"""
88
Return the latest block available to the backends, also known as the tip of the blockchain.
99
10-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1latest/get
10+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/latest
1111
1212
:param return_type: Optional. "object", "json" or "pandas". Default: "object".
1313
:type return_type: str
@@ -27,7 +27,7 @@ def block_latest_transactions(self, **kwargs):
2727
"""
2828
Return the transactions within the latest block.
2929
30-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1latest~1txs/get
30+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/latest/txs
3131
3232
:param gather_pages: Optional. Default: false. Will collect all pages into one return
3333
:type gather_pages: bool
@@ -54,7 +54,7 @@ def block(self, hash_or_number: str, **kwargs):
5454
"""
5555
Return the content of a requested block.
5656
57-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1{hash_or_number}/get
57+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/{hash_or_number}
5858
5959
:param hash_or_number: Hash or number of the requested block.
6060
:type hash_or_number: str
@@ -76,7 +76,7 @@ def block_slot(self, slot_number: int, **kwargs):
7676
"""
7777
Return the content of a requested block for a specific slot.
7878
79-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1slot~1{slot_number}/get
79+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/slot/{slot_number}
8080
8181
:param slot_number: Slot position for requested block.
8282
:type slot_number: int
@@ -98,7 +98,7 @@ def block_epoch_slot(self, epoch_number: int, slot_number: int, **kwargs):
9898
"""
9999
Return the content of a requested block for a specific slot in an epoch.
100100
101-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1epoch~1{epoch_number}~1slot~1{slot_number}/get
101+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/epoch/{epoch_number}/slot/{slot_number}
102102
103103
:param epoch_number: Epoch for specific epoch slot.
104104
:type epoch_number: int
@@ -122,7 +122,7 @@ def blocks_next(self, hash_or_number: str, **kwargs):
122122
"""
123123
Return the list of blocks following a specific block.
124124
125-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1{hash_or_number}~1next/get
125+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/{hash_or_number}/next
126126
127127
:param hash_or_number: Hash or number of the requested block.
128128
:type hash_or_number: str
@@ -151,7 +151,7 @@ def blocks_previous(self, hash_or_number: str, **kwargs):
151151
"""
152152
Return the list of blocks preceding a specific block.
153153
154-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1{hash_or_number}~1previous/get
154+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/{hash_or_number}/previous
155155
156156
:param hash_or_number: Hash or number of the requested block.
157157
:type hash_or_number: str
@@ -180,7 +180,7 @@ def block_transactions(self, hash_or_number: str, **kwargs):
180180
"""
181181
Return the transactions within the block.
182182
183-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1{hash_or_number}~1txs/get
183+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/{hash_or_number}/txs
184184
185185
:param hash_or_number: Hash or number of the requested block.
186186
:type hash_or_number: str
@@ -209,7 +209,7 @@ def block_latest_transactions_cbor(self, **kwargs):
209209
"""
210210
Return the transactions within the latest block in CBOR format.
211211
212-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1latest~1txs~1cbor/get
212+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/latest/txs/cbor
213213
214214
:param gather_pages: Optional. Default: false. Will collect all pages into one return
215215
:type gather_pages: bool
@@ -236,7 +236,7 @@ def block_transactions_cbor(self, hash_or_number: str, **kwargs):
236236
"""
237237
Return the transactions within the block in CBOR format.
238238
239-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1{hash_or_number}~1txs~1cbor/get
239+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/{hash_or_number}/txs/cbor
240240
241241
:param hash_or_number: Hash or number of the requested block.
242242
:type hash_or_number: str
@@ -265,7 +265,7 @@ def blocks_addresses(self, hash_or_number: str, **kwargs):
265265
"""
266266
Return list of addresses affected in the specified block with additional information, sorted by the bech32 address, ascending.
267267
268-
https://docs.blockfrost.io/#tag/Cardano-Blocks/paths/~1blocks~1{hash_or_number}~1addresses/get
268+
https://docs.blockfrost.io/#tag/cardano--blocks/GET/blocks/{hash_or_number}/addresses
269269
270270
:param hash_or_number: Hash or number of the requested block.
271271
:type hash_or_number: str

0 commit comments

Comments
 (0)