Skip to content

A Python script that sends notifications to your device whenever a specific gas price threshold is reached.

License

Notifications You must be signed in to change notification settings

AtharvaTaras/ETH-Gas-Notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ETH-Gas-Notifier

A Python script that sends notifications to your device whenever a specific gas price threshold is reached.

Python Requirements

Python 3.8x or higher
Requests
Pushbullet (pip install pushbullet.py)

External Requirements

Etherscan Account and API Key ------> (https://etherscan.io/)
Pushbullet Account and API Key -----> (https://www.pushbullet.com/)
Pushbullet App for your device

Use the same account you used to create the API key on the device where you want to receive notifications.

alt text

Check if your device has been registered, and is visible on your dashboard.

alt text

Use the notification test to first check if your API is working. If it is, then go ahead with the main code.

alt text

I have used the free API plan from Etherscan. It has a limit of 5 calls per second, so make sure you adjust your intervals accordingly.

alt text