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

Commit27b2fec

Browse files
authored
Added PRO endpoints
1 parentb2ed676 commit27b2fec

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

‎README.md‎

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@
88

99
A minimal, yet complete, python API for[Etherscan.io](https://etherscan.io/). Available on[PyPI](https://pypi.org/project/etherscan-python/).
1010

11+
All FREE and PRO endpoints are provided.
12+
1113
Powered by[Etherscan.io APIs](https://etherscan.io/apis).
1214
___
1315

1416

1517
##Endpoints
1618

17-
All of the*free* GET endpoints from the following modules are provided:
18-
19+
The following endpoints are provided:
1920

2021
<details><summary>Accounts <ahref="https://etherscan.io/apis#accounts">(source)</a></summary>
2122
<p>
@@ -110,12 +111,40 @@ All of the *free* GET endpoints from the following modules are provided:
110111

111112
</details>
112113

114+
<details><summary>Pro (PRO API key needed) <ahref="https://etherscan.io/apis#APIpro">(source)</a></summary>
115+
<p>
116+
117+
*`get_hist_eth_balance_for_address_by_block_no`
118+
*`get_daily_average_block_size`
119+
*`get_daily_block_count_and_rewards`
120+
*`get_daily_block_rewards`
121+
*`get_daily_average_block_time`
122+
*`get_daily_uncle_block_count_and_rewards`
123+
*`get_hist_erc20_token_total_supply_by_contract_address_and_block_no`
124+
*`get_hist_erc20_token_account_balance_for_token_contract_address_by_block_no`
125+
*`get_token_info_by_contract_address`
126+
*`get_daily_average_gas_limit`
127+
*`get_eth_daily_total_gas_used`
128+
*`get_eth_daily_average_gas_price`
129+
*`get_eth_daily_network_tx_fee`
130+
*`get_daily_new_address_count`
131+
*`get_daily_network_utilization`
132+
*`get_daily_average_network_hash_rate`
133+
*`get_daily_tx_count`
134+
*`get_daily_average_network_difficulty`
135+
*`get_eth_hist_daily_market_cap`
136+
*`get_eth_hist_price`
137+
138+
</details>
139+
113140
*If you think that a newly-added method is missing, kindly open an[issue](https://github.com/pcko1/etherscan-python/issues) as a feature request and I will do my best to add it.*
114141

115142
##Installation
116143

117144
Before proceeding, you should register an account on[Etherscan.io](https://etherscan.io/) and[generate a personal API key](https://etherscan.io/myapikey) to use.
118145

146+
If you wish to have access to the PRO endpoints, you should obtain elevated privileges via Etherscan's subscription service.
147+
119148
Assuming[conda](https://docs.conda.io/en/latest/miniconda.html) is already installed on your system, first create the environment:
120149

121150
```bash
@@ -173,7 +202,7 @@ eth.get_eth_balance(address="0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121a")
173202

174203
## Examples
175204

176-
Examples (arguments and results)forall methods may be found as JSON files [here](https://github.com/pcko1/etherscan-python/tree/master/logs). For example, if you want to use the method `get_block_number_by_timestamp`, you can find the supported arguments and the format of its outputin its respective [JSON file](logs/get_block_number_by_timestamp.json):
205+
Examples (arguments and results)forall methods may be found as JSON files [here](https://github.com/pcko1/etherscan-python/tree/master/logs). For example, if you want to use the method `get_block_number_by_timestamp`, you can find the supported arguments and the format of its outputin its respective [JSON file](logs/standard/get_block_number_by_timestamp.json):
177206

178207
``` json
179208
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp