pywalletscan


Namepywalletscan JSON
Version 0.0.8 PyPI version JSON
download
home_pagehttps://github.com/efssisbdyy/pywalletscan
SummaryA Python Wrapper Implementation of Etherscan
upload_time2024-03-09 11:58:26
maintainer
docs_urlNone
author
requires_python
licenseMIT
keywords eth etherium bitcoin wallet etherscan
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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/*
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/efssisbdyy/pywalletscan",
    "name": "pywalletscan",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "ETH,Etherium,Bitcoin,wallet,Etherscan",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/7f/3c/4a9aa3c2426f6da7ded0a080a41790521d38380e9cee0fda5440e2d073b4/pywalletscan-0.0.8.tar.gz",
    "platform": null,
    "description": "# pywalletscan\r\n\r\nA Python Wrapper Implementation of Etherscan\r\n\r\n# Prerequisite\r\n\r\nPywalletscan 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.\r\n\r\n# Getting Started\r\n\r\n```ipython\r\n>>> import pywalletscan as scan\r\n>>> from pprint import pprint\r\n>>> res = scan.get_transaction(network=\"sepolia\", address=f\"{YOUR_WALLET_ADDRESS}\", api_key=f\"{YOUR_API_KEY}\")\r\n>>> pprint(res)\r\n[{'blockHash': '0x8ed677f6e5c21dfc528f76124d739591bf1087dc7e5a4f0e212c7cba1d654396',\r\n  'blockNumber': '5419226',\r\n  'confirmations': '13',\r\n  'contractAddress': '',\r\n  'cumulativeGasUsed': '153392',\r\n  'from': '0x7ed746476a7f6520babd24eee1fdbcd0f7fb271f',\r\n  'functionName': '',\r\n  'gas': '84000',\r\n  'gasPrice': '3982623228',\r\n  'gasUsed': '21000',\r\n  'hash': '0x9e86110e2e78382e844487d1442175d9f081c9de0b567d2fc8ace04dac889108',\r\n  'input': '0x',\r\n  'isError': '0',\r\n  'methodId': '0x',\r\n  'nonce': '819302',\r\n  'timeStamp': '1709612220',\r\n  'to': '0xede522b5cb39606b4f46d85cd9ea786371fc5401',\r\n  'transactionIndex': '4',\r\n  'txreceipt_status': '1',\r\n  'value': '500000000000000000'}]\r\n>>>\r\n```\r\n\r\n# Recognized network\r\n\r\ngoerli, sepolia, eth(etherium) (Case insensitive)\r\n\r\n# Build\r\n\r\n```sh\r\npython setup.py sdist bdist_wheel\r\n\r\n# Test\r\n# twine upload --repository-url https://test.pypi.org/legacy/ dist/*\r\n\r\ntwine upload dist/*\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python Wrapper Implementation of Etherscan",
    "version": "0.0.8",
    "project_urls": {
        "Homepage": "https://github.com/efssisbdyy/pywalletscan"
    },
    "split_keywords": [
        "eth",
        "etherium",
        "bitcoin",
        "wallet",
        "etherscan"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4d8f6251dcd78abcfde62e9f7c2ff436bc2dbf2364784d654abd092b92b64b4c",
                "md5": "45cb7844c6bed47c19d5ec72ce16ca6f",
                "sha256": "33c71c484a4f674cd34dca9e6baec1961f2c825af063eaa874f41bc5dfec13d0"
            },
            "downloads": -1,
            "filename": "pywalletscan-0.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "45cb7844c6bed47c19d5ec72ce16ca6f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3742,
            "upload_time": "2024-03-09T11:58:24",
            "upload_time_iso_8601": "2024-03-09T11:58:24.939350Z",
            "url": "https://files.pythonhosted.org/packages/4d/8f/6251dcd78abcfde62e9f7c2ff436bc2dbf2364784d654abd092b92b64b4c/pywalletscan-0.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f3c4a9aa3c2426f6da7ded0a080a41790521d38380e9cee0fda5440e2d073b4",
                "md5": "3941e5e91f7cc8e0609015c780b7fad9",
                "sha256": "5cad951aeba7af1179376dadf7649237cdb903c5e37f7b014dd47a89710523bb"
            },
            "downloads": -1,
            "filename": "pywalletscan-0.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "3941e5e91f7cc8e0609015c780b7fad9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3984,
            "upload_time": "2024-03-09T11:58:26",
            "upload_time_iso_8601": "2024-03-09T11:58:26.496745Z",
            "url": "https://files.pythonhosted.org/packages/7f/3c/4a9aa3c2426f6da7ded0a080a41790521d38380e9cee0fda5440e2d073b4/pywalletscan-0.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-09 11:58:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "efssisbdyy",
    "github_project": "pywalletscan",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "pywalletscan"
}
        
Elapsed time: 0.36967s