@@ -5,21 +5,105 @@ A minimal, yet complete, python API for [etherscan.io](etherscan.io).
5
5
[ ![ Build Status] ( https://travis-ci.com/pcko1/etherscan-python.svg?branch=master )] ( https://travis-ci.com/pcko1/etherscan-python )
6
6
[ ![ codecov] ( https://codecov.io/gh/pcko1/etherscan-python/branch/master/graph/badge.svg )] ( https://codecov.io/gh/pcko1/etherscan-python )
7
7
[ ![ Python 3.8] ( https://img.shields.io/badge/python-3.8-blue.svg )] ( https://www.python.org/downloads/release/python-385/ )
8
-
9
8
![ GitHub] ( https://img.shields.io/github/license/pcko1/etherscan-python )
10
9
11
10
___
12
11
13
12
All of the * free* GET endpoints from the following modules are provided:
14
13
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 >
23
107
24
108
## Installation
25
109
@@ -55,7 +139,7 @@ This will regenerate the logs under `logs/` with the most recent results and the
55
139
56
140
# # Usage
57
141
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:
59
143
60
144
` ` ` python
61
145
from etherscan import Etherscan
0 commit comments