Uncaught (in promise) Error: unconfigured name (value = "...", code=UNCONFIGURED_NAME, version=6.6.2) #4238
-
Ethers Version6.6.2 Search TermsNo response Describe the ProblemI am trying to send transaction.
Code Snippetconst tx = {
from: userWallet,
to: process.env.REACT_APP_HOUSE_ADDR,
value: ethers.parseUnits((plan).toString(), "ether"),
nonce: await provider.getTransactionCount(userWallet, "latest"),
gasLimit: 21000,
gasPrice: (await provider.getFeeData()).gasPrice,
};
signer.sendTransaction(tx).then((transaction) => {
console.log(transaction);
}); Contract ABINo response ErrorsNo response EnvironmentNo response Environment (Other)No response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
In my case, I used invalid wallet address as a receiver's wallet address. |
Beta Was this translation helpful? Give feedback.
-
From the error, it looks like you are passing in the empty string |
Beta Was this translation helpful? Give feedback.
In my case, I used invalid wallet address as a receiver's wallet address.
Once I change wallet address to valid one, then the error disappeared.
Please check yours.