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 1f3edbf commit 563458dCopy full SHA for 563458d
src/apis/web3api.py
@@ -85,7 +85,7 @@ def get_transaction(self, tx_hash: str) -> Optional[TxData]:
85
transaction = None
86
87
return transaction
88
-
+
89
def get_tx_block_number(self, tx_hash: str) -> Optional[int]:
90
"""
91
Takes tx hash as input, returns block number where tx took place.
@@ -94,8 +94,8 @@ def get_tx_block_number(self, tx_hash: str) -> Optional[int]:
94
if transaction is None:
95
return None
96
else:
97
- return transaction['blockNumber']
98
+ return transaction["blockNumber"]
99
def get_receipt(self, tx_hash: str) -> Optional[TxReceipt]:
100
101
Get the receipt of a transaction from the transaction hash.
0 commit comments