https://github.com/patrickalphac/get-all-transactions
https://github.com/patrickalphac/get-all-transactions
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrickalphac/get-all-transactions
- Owner: PatrickAlphaC
- Created: 2023-08-19T20:07:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-19T20:11:05.000Z (almost 3 years ago)
- Last Synced: 2025-03-28T22:07:45.491Z (about 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Get all transactions from an address
We look at some techniques to get all transactions from an address, as well as get certain events. You can read my full blog on this here.
# Getting Started
## Requirements
- [Python](https://www.python.org/downloads/) 3.7 or higher
- You'll know you've done it right if you can run `python3 --version` in your terminal and see something like `Python 3.10.6`
## Installation
```bash
git clone https://github.com/PatrickAlphaC/get-all-transactions
cd get-all-transactions
pip install -r requirements.txt
```
To use the `alchemy` prefixed scripts, you'll need to set the `ALCHEMY_API_KEY` environment variable to your Alchemy API key.
For using any other python script, you'll need an `RPC_URL` environment variable set to your RPC URL.
## Use
```
python3 alchemy_get_events.py
```
Or call any other python script. Feel free to edit the scripts for your needs.