ape-etherscan icon indicating copy to clipboard operation
ape-etherscan copied to clipboard

etherscan v1 apis have been deprecated as of Aug 15, 2025

Open BlinkyStitt opened this issue 3 months ago • 1 comments

Environment information

  • ape and plugin versions:
$ ape --version
0.8.36

$ ape plugins list
Installed Plugins
  alchemy      0.8.10
  ens          0.8.2
  etherscan    0.8.4
  foundry      0.8.9
  hardhat      0.8.5
  infura       0.8.4
  solidity     0.8.5
  template     0.8.0
  tokens       0.8.7
  vyper        0.8.9
  • Python Version: 3.13.5
  • OS: macOS

What went wrong?

I'm not able to fetch any contracts while trying to print my transaction's trace.

Etherscan's docs say:

Important: Please note that the Etherscan V1 API will be fully deprecated by 15th August 2025. To avoid any service disruption, we strongly recommend migrating to the Etherscan V2 API (Multichain API) as soon as possible. Learn more.

How can it be fixed?

I think we need to migrate to v2: https://docs.etherscan.io/etherscan-v2/v2-quickstart

BlinkyStitt avatar Aug 16 '25 16:08 BlinkyStitt