@@ -5,21 +5,105 @@ A minimal, yet complete, python API for [etherscan.io](etherscan.io).
55[ ![ Build Status] ( https://travis-ci.com/pcko1/etherscan-python.svg?branch=master )] ( https://travis-ci.com/pcko1/etherscan-python )
66[ ![ codecov] ( https://codecov.io/gh/pcko1/etherscan-python/branch/master/graph/badge.svg )] ( https://codecov.io/gh/pcko1/etherscan-python )
77[ ![ Python 3.8] ( https://img.shields.io/badge/python-3.8-blue.svg )] ( https://www.python.org/downloads/release/python-385/ )
8-
98![ GitHub] ( https://img.shields.io/github/license/pcko1/etherscan-python )
109
1110___
1211
1312All of the * free* GET endpoints from the following modules are provided:
1413
15- * [ Accounts] ( https://etherscan.io/apis#accounts )
16- * [ Contracts] ( https://etherscan.io/apis#contracts )
17- * [ Transactions] ( https://etherscan.io/apis#transactions )
18- * [ Blocks] ( https://etherscan.io/apis#blocks )
19- * [ GETH/Parity Proxy] ( https://etherscan.io/apis#proxy )
20- * [ Tokens] ( https://etherscan.io/apis#tokens )
21- * [ Gas Tracker] ( https://etherscan.io/apis#gastracker )
22- * [ Stats] ( https://etherscan.io/apis#stats )
14+
15+ <details ><summary ><a href =" https://etherscan.io/apis#accounts " >Accounts</a ></summary >
16+ <p >
17+
18+ * ` get_eth_balance `
19+ * ` get_eth_balance_multiple `
20+ * ` get_normal_txs_by_address `
21+ * ` get_normal_txs_by_address_paginated `
22+ * ` get_internal_txs_by_address `
23+ * ` get_internal_txs_by_address_paginated `
24+ * ` get_internal_txs_by_txhash `
25+ * ` get_internal_txs_by_block_range_paginated `
26+ * ` get_erc20_token_transfer_events_by_address `
27+ * ` get_erc20_token_transfer_events_by_contract_address_paginated `
28+ * ` get_erc20_token_transfer_events_by_address_and_contract_paginated `
29+ * ` get_erc721_token_transfer_events_by_address `
30+ * ` get_erc721_token_transfer_events_by_contract_address_paginated `
31+ * ` get_erc721_token_transfer_events_by_address_and_contract_paginated `
32+ * ` get_mined_blocks_by_address `
33+ * ` get_mined_blocks_by_address_paginated `
34+
35+ </details >
36+
37+ <details ><summary ><a href =" https://etherscan.io/apis#contracts " >Contracts</a ></summary >
38+ <p >
39+
40+ * ` get_contract_abi `
41+ * ` get_contract_source_code `
42+
43+ </details >
44+
45+ </details >
46+
47+ <details ><summary ><a href =" https://etherscan.io/apis#transactions " >Transactions</a ></summary >
48+ <p >
49+
50+ * ` get_contract_execution_status `
51+ * ` get_tx_receipt_status `
52+
53+ </details >
54+
55+ <details ><summary ><a href =" https://etherscan.io/apis#blocks " >Blocks</a ></summary >
56+ <p >
57+
58+ * ` get_block_reward_by_block_number `
59+ * ` get_est_block_countdown_time_by_block_number `
60+ * ` get_block_number_by_timestamp `
61+
62+ </details >
63+
64+ <details ><summary ><a href =" https://etherscan.io/apis#proxy " >GETH/Parity Proxy</a ></summary >
65+ <p >
66+
67+ * ` get_proxy_block_number `
68+ * ` get_proxy_block_by_number `
69+ * ` get_proxy_uncle_by_block_number_and_index `
70+ * ` get_proxy_block_transaction_count_by_number `
71+ * ` get_proxy_transaction_by_hash `
72+ * ` get_proxy_transaction_by_block_number_and_index `
73+ * ` get_proxy_transaction_count `
74+ * ` get_proxy_transaction_receipt `
75+ * ` get_proxy_call `
76+ * ` get_proxy_code_at `
77+ * ` get_proxy_storage_position_at `
78+ * ` get_proxy_gas_price `
79+ * ` get_proxy_est_gas `
80+
81+ </details >
82+
83+ <details ><summary ><a href =" https://etherscan.io/apis#tokens " >Tokens</a ></summary >
84+ <p >
85+
86+ * ` get_total_supply_by_contract_address `
87+ * ` get_acc_balance_by_token_and_contract_address `
88+
89+ </details >
90+
91+ <details ><summary ><a href =" https://etherscan.io/apis#gastracker " >Gas Tracker</a ></summary >
92+ <p >
93+
94+ * ` get_est_confirmation_time `
95+ * ` get_gas_oracle `
96+
97+ </details >
98+
99+ <details ><summary ><a href =" https://etherscan.io/apis#stats " >Stats</a ></summary >
100+ <p >
101+
102+ * ` get_total_eth_supply `
103+ * ` get_eth_last_price `
104+ * ` get_eth_nodes_size `
105+
106+ </details >
23107
24108## Installation
25109
@@ -55,7 +139,7 @@ This will regenerate the logs under `logs/` with the most recent results and the
55139
56140# # Usage
57141
58- In ` python` , create a client with your personal etherscan.io API key:
142+ In ` python` , create a client with your personal etherscan.io API key:
59143
60144` ` ` python
61145from etherscan import Etherscan
0 commit comments