├── .github └── FUNDING.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── __init__.py ├── etherscan ├── __init__.py ├── accounts.py ├── blocks.py ├── client.py ├── client.ropsten.py ├── contracts.py ├── gas_tracker.py ├── logs.py ├── proxies.py ├── stats.py ├── tokens.py └── transactions.py ├── examples ├── __init__.py ├── accounts │ ├── Accounts Examples Notebook.ipynb │ ├── __init__.py │ ├── get_all_blocks_mined.py │ ├── get_all_transactions.py │ ├── get_balance.py │ ├── get_balance_multi.py │ ├── get_blocks_mined.py │ ├── get_transaction_page.py │ └── get_transaction_page_erc20.py ├── blocks │ ├── Blocks Examples Notebook.ipynb │ ├── __init__.py │ └── get_block_reward.py ├── contracts │ ├── __init__.py │ ├── get_abi.py │ └── get_sourcecode.py ├── proxies │ ├── gas_price.py │ ├── get_block_by_number.py │ ├── get_block_transaction_count_by_number.py │ ├── get_code.py │ ├── get_most_recent_block.py │ ├── get_storage_at.py │ ├── get_transaction_by_blocknumber_index.py │ ├── get_transaction_by_hash.py │ ├── get_transaction_count.py │ ├── get_transaction_receipt.py │ └── get_uncle_by_blocknumber_index.py ├── stats │ ├── Stats Examples Notebook.ipynb │ ├── __init__.py │ ├── get_ether_last_price.py │ └── get_total_ether_supply.py ├── tokens │ ├── Token Examples Notebook.ipynb │ ├── __init__.py │ ├── get_token_balance.py │ └── get_total_supply.py └── transactions │ ├── Transactions Examples Notebook.ipynb │ ├── __init__.py │ ├── get_status.py │ └── get_tx_receipt_status.py ├── pip-requirements.txt ├── setup.py ├── tests ├── __init__.py ├── test_accounts.py ├── test_blocks.py ├── test_gas_tracker.py ├── test_logs.py ├── test_proxies.py ├── test_token.py └── test_transactions.py └── tox.ini /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'Corey Petty' 2 | name = "py-etherscan-api" -------------------------------------------------------------------------------- /etherscan/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'Corey Petty' 2 | -------------------------------------------------------------------------------- /etherscan/accounts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/accounts.py -------------------------------------------------------------------------------- /etherscan/blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/blocks.py -------------------------------------------------------------------------------- /etherscan/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/client.py -------------------------------------------------------------------------------- /etherscan/client.ropsten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/client.ropsten.py -------------------------------------------------------------------------------- /etherscan/contracts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/contracts.py -------------------------------------------------------------------------------- /etherscan/gas_tracker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/gas_tracker.py -------------------------------------------------------------------------------- /etherscan/logs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/logs.py -------------------------------------------------------------------------------- /etherscan/proxies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/proxies.py -------------------------------------------------------------------------------- /etherscan/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/stats.py -------------------------------------------------------------------------------- /etherscan/tokens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/tokens.py -------------------------------------------------------------------------------- /etherscan/transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/etherscan/transactions.py -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'Corey Petty' 2 | -------------------------------------------------------------------------------- /examples/accounts/Accounts Examples Notebook.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/accounts/Accounts Examples Notebook.ipynb -------------------------------------------------------------------------------- /examples/accounts/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'Corey Petty' 2 | -------------------------------------------------------------------------------- /examples/accounts/get_all_blocks_mined.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/accounts/get_all_blocks_mined.py -------------------------------------------------------------------------------- /examples/accounts/get_all_transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/accounts/get_all_transactions.py -------------------------------------------------------------------------------- /examples/accounts/get_balance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/accounts/get_balance.py -------------------------------------------------------------------------------- /examples/accounts/get_balance_multi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/accounts/get_balance_multi.py -------------------------------------------------------------------------------- /examples/accounts/get_blocks_mined.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/accounts/get_blocks_mined.py -------------------------------------------------------------------------------- /examples/accounts/get_transaction_page.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/accounts/get_transaction_page.py -------------------------------------------------------------------------------- /examples/accounts/get_transaction_page_erc20.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/accounts/get_transaction_page_erc20.py -------------------------------------------------------------------------------- /examples/blocks/Blocks Examples Notebook.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/blocks/Blocks Examples Notebook.ipynb -------------------------------------------------------------------------------- /examples/blocks/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'Corey Petty' 2 | -------------------------------------------------------------------------------- /examples/blocks/get_block_reward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/blocks/get_block_reward.py -------------------------------------------------------------------------------- /examples/contracts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/contracts/get_abi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/contracts/get_abi.py -------------------------------------------------------------------------------- /examples/contracts/get_sourcecode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/contracts/get_sourcecode.py -------------------------------------------------------------------------------- /examples/proxies/gas_price.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/gas_price.py -------------------------------------------------------------------------------- /examples/proxies/get_block_by_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_block_by_number.py -------------------------------------------------------------------------------- /examples/proxies/get_block_transaction_count_by_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_block_transaction_count_by_number.py -------------------------------------------------------------------------------- /examples/proxies/get_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_code.py -------------------------------------------------------------------------------- /examples/proxies/get_most_recent_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_most_recent_block.py -------------------------------------------------------------------------------- /examples/proxies/get_storage_at.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_storage_at.py -------------------------------------------------------------------------------- /examples/proxies/get_transaction_by_blocknumber_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_transaction_by_blocknumber_index.py -------------------------------------------------------------------------------- /examples/proxies/get_transaction_by_hash.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_transaction_by_hash.py -------------------------------------------------------------------------------- /examples/proxies/get_transaction_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_transaction_count.py -------------------------------------------------------------------------------- /examples/proxies/get_transaction_receipt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_transaction_receipt.py -------------------------------------------------------------------------------- /examples/proxies/get_uncle_by_blocknumber_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/proxies/get_uncle_by_blocknumber_index.py -------------------------------------------------------------------------------- /examples/stats/Stats Examples Notebook.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/stats/Stats Examples Notebook.ipynb -------------------------------------------------------------------------------- /examples/stats/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'Corey Petty' 2 | -------------------------------------------------------------------------------- /examples/stats/get_ether_last_price.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/stats/get_ether_last_price.py -------------------------------------------------------------------------------- /examples/stats/get_total_ether_supply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/stats/get_total_ether_supply.py -------------------------------------------------------------------------------- /examples/tokens/Token Examples Notebook.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/tokens/Token Examples Notebook.ipynb -------------------------------------------------------------------------------- /examples/tokens/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/tokens/get_token_balance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/tokens/get_token_balance.py -------------------------------------------------------------------------------- /examples/tokens/get_total_supply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/tokens/get_total_supply.py -------------------------------------------------------------------------------- /examples/transactions/Transactions Examples Notebook.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/transactions/Transactions Examples Notebook.ipynb -------------------------------------------------------------------------------- /examples/transactions/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'Corey Petty' 2 | -------------------------------------------------------------------------------- /examples/transactions/get_status.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/transactions/get_status.py -------------------------------------------------------------------------------- /examples/transactions/get_tx_receipt_status.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/examples/transactions/get_tx_receipt_status.py -------------------------------------------------------------------------------- /pip-requirements.txt: -------------------------------------------------------------------------------- 1 | requests>=2.20.0 2 | typing==3.6.4 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_accounts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/tests/test_accounts.py -------------------------------------------------------------------------------- /tests/test_blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/tests/test_blocks.py -------------------------------------------------------------------------------- /tests/test_gas_tracker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/tests/test_gas_tracker.py -------------------------------------------------------------------------------- /tests/test_logs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/tests/test_logs.py -------------------------------------------------------------------------------- /tests/test_proxies.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/tests/test_proxies.py -------------------------------------------------------------------------------- /tests/test_token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/tests/test_token.py -------------------------------------------------------------------------------- /tests/test_transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/tests/test_transactions.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/corpetty/py-etherscan-api/HEAD/tox.ini --------------------------------------------------------------------------------