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
While verifying the address on Amoy testnet network using hardhat verify. It was throwing error
An unexpected error occurred during the verification process.
Please report this issue to the Hardhat team.
Error Details: Unexpected token i in JSON at position 0
hardhat-verify found one or more errors during the verification process:
Etherscan:
Etherscan API call failed with status 415, response: invalid content type, only application/json is supported
It looks like there's an issue with your apiURL. It seems you're using an RPC URL, but you should be using the API URL provided by PolygonScan. You can find more details here.
Version of Hardhat
2.22.2
What happened?
While verifying the address on Amoy testnet network using hardhat verify. It was throwing error
Minimal reproduction steps
Added the amoy network in hardhat.config.js
Search terms
No response
The text was updated successfully, but these errors were encountered: