pcko1 / etherscan-python

A minimal, yet complete, python API for Etherscan.io.
MIT License
408 stars 111 forks source link

bash run_tests.sh My_api_key gives this kinda error #7

Closed kalkite closed 3 years ago

kalkite commented 3 years ago

====================================================================== FAIL: test_methods (test.test_modules.TestPro)

Traceback (most recent call last): File "/home/rk/Documents/etherscan-python/test/test_modules.py", line 33, in test_methods res = getattr(etherscan, fun)(**v["kwargs"]) File "/home/rk/Documents/etherscan-python/etherscan/etherscan.py", line 33, in wrapper return parser.parse(r) File "/home/rk/Documents/etherscan-python/etherscan/utils/parsing.py", line 12, in parse assert status, f"{result} -- {message}" AssertionError: Error! Missing Or invalid Action name -- NOTOK

pcko1 commented 3 years ago

The pro methods are enabled only if you have a pro API key which you can request from etherscan.io.