Skip to main content

API wrapper for blockstream block explorer

Project description

blockstream

A python wrapper class for blockstream.info's Bitcoin block explorer API

written in Python 3

Block explorer: https://blockstream.info

API Reference: https://github.com/Blockstream/esplora/blob/master/API.md

Install

pip install blockstream

or sometimes

pip3 install blockstream

Usage

from blockstream import BlockExplorer

explorer = BlockExplorer()

# get transaction by id
tx_id = '3NukJ6fYZJ5Kk8bPjycAnruZkE5Q7UW7i8'
tx = explorer.get_transaction(tx_id)

Examples

Reference examples.py to see each method in use

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blockstream-0.0.3.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

blockstream-0.0.3-py3-none-any.whl (2.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page