Incorrect getTransactionReceipt return type #3790
Unanswered
bvanderdrift
asked this question in
Q&A
Replies: 1 comment
-
In v5, the tsconfig does not include the That said, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ethers Version
5.7.2
Search Terms
getTransactionReceipt types
Describe the Problem
The current
@ethersproject/abstract-provider
hasWhere the return type should be
Promise<TransactionReceipt | null>
as per the JSON-RPC definitions. This does seem to be correct inethers.js
repo.@ethersproject/abstract-provider
should be updated accordingly.Code Snippet
No response
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response
Beta Was this translation helpful? Give feedback.
All reactions