Metadata-Version: 2.1
Name: pywalletscan
Version: 0.0.7
Summary: A Python Wrapper Implementation of Etherscan
Home-page: https://github.com/efssisbdyy/pywalletscan
License: MIT
Keywords: ETH,Etherium,Bitcoin,wallet,Etherscan
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp ==3.9.3
Requires-Dist: aiosignal ==1.3.1
Requires-Dist: async-timeout ==4.0.3
Requires-Dist: attrs ==23.2.0
Requires-Dist: bitarray ==2.9.2
Requires-Dist: certifi ==2024.2.2
Requires-Dist: charset-normalizer ==3.3.2
Requires-Dist: cytoolz ==0.12.3
Requires-Dist: eth-abi ==5.0.0
Requires-Dist: eth-account ==0.11.0
Requires-Dist: eth-hash ==0.7.0
Requires-Dist: eth-keyfile ==0.8.0
Requires-Dist: eth-keys ==0.5.0
Requires-Dist: eth-rlp ==1.0.1
Requires-Dist: eth-typing ==4.0.0
Requires-Dist: eth-utils ==4.0.0
Requires-Dist: frozenlist ==1.4.1
Requires-Dist: hexbytes ==0.3.1
Requires-Dist: idna ==3.6
Requires-Dist: importlib-resources ==6.1.2
Requires-Dist: jsonschema ==4.21.1
Requires-Dist: jsonschema-specifications ==2023.12.1
Requires-Dist: lru-dict ==1.2.0
Requires-Dist: multidict ==6.0.5
Requires-Dist: parsimonious ==0.9.0
Requires-Dist: pkgutil-resolve-name ==1.3.10
Requires-Dist: protobuf ==4.25.3
Requires-Dist: pycryptodome ==3.20.0
Requires-Dist: pyunormalize ==15.1.0
Requires-Dist: pywalletscan ==0.0.1
Requires-Dist: referencing ==0.33.0
Requires-Dist: regex ==2023.12.25
Requires-Dist: requests ==2.31.0
Requires-Dist: rlp ==4.0.0
Requires-Dist: rpds-py ==0.18.0
Requires-Dist: toolz ==0.12.1
Requires-Dist: typing-extensions ==4.10.0
Requires-Dist: urllib3 ==2.2.1
Requires-Dist: web3 ==6.15.1
Requires-Dist: websockets ==12.0
Requires-Dist: yarl ==1.9.4
Requires-Dist: zipp ==3.17.0

# pywalletscan

A Python Wrapper Implementation of Etherscan

# Prerequisite

Pywalletscan uses Etherescan API as a datasource. API key is required to run. Please refer to [Getting an API Key](https://docs.etherscan.io/getting-started/viewing-api-usage-statistics) on Etherscan Web page.

# Getting Started

```ipython
>>> import pywalletscan as scan
>>> from pprint import pprint
>>> res = scan.get_transaction(network="sepolia", address=f"{YOUR_WALLET_ADDRESS}", api_key=f"{YOUR_API_KEY}")
>>> pprint(res)
[{'blockHash': '0x8ed677f6e5c21dfc528f76124d739591bf1087dc7e5a4f0e212c7cba1d654396',
  'blockNumber': '5419226',
  'confirmations': '13',
  'contractAddress': '',
  'cumulativeGasUsed': '153392',
  'from': '0x7ed746476a7f6520babd24eee1fdbcd0f7fb271f',
  'functionName': '',
  'gas': '84000',
  'gasPrice': '3982623228',
  'gasUsed': '21000',
  'hash': '0x9e86110e2e78382e844487d1442175d9f081c9de0b567d2fc8ace04dac889108',
  'input': '0x',
  'isError': '0',
  'methodId': '0x',
  'nonce': '819302',
  'timeStamp': '1709612220',
  'to': '0xede522b5cb39606b4f46d85cd9ea786371fc5401',
  'transactionIndex': '4',
  'txreceipt_status': '1',
  'value': '500000000000000000'}]
>>>
```

# Recognized network

goerli, sepolia, eth(etherium) (Case insensitive)

# Build

```sh
python setup.py sdist bdist_wheel

# Test
# twine upload --repository-url https://test.pypi.org/legacy/ dist/*

twine upload dist/*
```
