Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6bbe817

Browse files
authored
Simplified client initialization
1 parent9c12301 commit6bbe817

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎README.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,7 @@ In `python`, create a client with your personal [Etherscan.io](https://etherscan
190190

191191
``` python
192192
from etherscan import Etherscan
193-
194-
api_key = YOUR_API_KEY# use quotation marks because it is a Python string
195-
config_path = "configs/stable.json"
196-
197-
eth = Etherscan.from_config(config_path, api_key)
193+
eth = Etherscan(YOUR_API_KEY)# key in quotation marks
198194
```
199195

200196
Then you can call all available methods, e.g.:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp