Skip to content

Commit 06f736b

Browse files
committed
fix: transaction_required_signers and network_eras are don't need list wrapper
1 parent 6e3a4cb commit 06f736b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

blockfrost/api/cardano/network.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import requests
2-
from blockfrost.utils import request_wrapper, list_request_wrapper
2+
from blockfrost.utils import request_wrapper
33

44

55
@request_wrapper
@@ -22,7 +22,7 @@ def network(self, **kwargs):
2222
)
2323

2424

25-
@list_request_wrapper
25+
@request_wrapper
2626
def network_eras(self, **kwargs):
2727
"""
2828
Return the information about network eras.

blockfrost/api/cardano/transactions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,12 @@ def transaction_redeemers(self, hash: str, **kwargs):
245245
)
246246

247247

248-
@list_request_wrapper
248+
@request_wrapper
249249
def transaction_required_signers(self, hash: str, **kwargs):
250250
"""
251251
Obtain the required signers of a specific transaction.
252252
253-
https://docs.blockfrost.io/#tag/Cardano-Transactions/paths/~1txs~1{hash}~1required_signers/get
253+
https://docs.blockfrost.io/#tag/cardano--transactions/GET/txs/{hash}/required_signers
254254
255255
:param hash: Hash of the requested transaction.
256256
:type hash: str

0 commit comments

Comments
 (0)