Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 983 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 983 Bytes

blockchain-transaction-status

This repository contains a Python script that uses the Blockcypher API to check the status of a Bitcoin transaction using a hash ID. The script can be used to monitor the progress of transactions and ensure that they are being processed correctly.

Installation

pip install -r requirements.txt

How to use

Edit blockchain_transaction_status.py:

TOKEN = 'YOUR TOKEN'

This bot is made with reference to IST (UTC + 5:30). Change the following line according to your timezone:

tzinfo=pytz.FixedOffset(-330)

eg: For New Zealand Standard Time (UTC + 12:00)

tzinfo=pytz.FixedOffset(-720)

Run the program:

python blockchain_transaction_status.py

Example

Transaction Successful

Confirmations < 6