Back to All

ProviderError: The method eth_estimateUserOperationGas does not exist/is not available

why i get this error while trying to get values from the bundler API :

ProviderError: The method eth_estimateUserOperationGas does not exist/is not available

this is the script used:

const response= await ethers.provider.send("eth_estimateUserOperationGas",[
userOp,
EPC_ADDRESS,

]);
console.log(response);

ReadMe