You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've upgraded from v5 to v6 and the code that was working and getting the "creates" or "contractAddress" are no longer present in transactions when I call provider.getTransaction(tx).
I'm calling this method for all transactions in the mempool.
This happens with several different providers (alchemy, chainnodes, noderpc, etc).
Code Snippet
let transaction = await provider.getTransaction(tx);
const {creates: createsTr, contractAddress } = transaction;
const creates = createsTr || contractAddress;if (!creates) {
console.log(
`Something went wrong getting new contract info from mempool. Can't find creates parameter ` ); return false; }
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered:
Ethers Version
6.13.1
Search Terms
contract creation
Describe the Problem
Hi,
I've upgraded from v5 to v6 and the code that was working and getting the "creates" or "contractAddress" are no longer present in transactions when I call provider.getTransaction(tx).
I'm calling this method for all transactions in the mempool.
This happens with several different providers (alchemy, chainnodes, noderpc, etc).
Code Snippet
Contract ABI
No response
Errors
No response
Environment
node.js (v12 or newer)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: