Skip to content

Commit

Permalink
feat: eth_gethTransactionByHash
Browse files Browse the repository at this point in the history
  • Loading branch information
NotPeopling2day committed Jan 22, 2025
1 parent 4c29eb8 commit a06ddbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ape_alchemy/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ def get_receipt(
except TransactionNotFound as err:
raise TransactionNotFoundError(txn_hash) from err

txn = dict(self.web3.eth.get_transaction(HexStr(txn_hash)))
txn = dict(self.make_request("eth_getTransactionByHash", [HexStr(txn_hash)]))

return self.network.ecosystem.decode_receipt(
{
"provider": self,
Expand Down

0 comments on commit a06ddbd

Please sign in to comment.