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)
Built Distribution
Close
Hashes for blockstream-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3641cfb08b0d46e1f2ae41346fbf17a18296d2b82f08c2b056da355df74c4d07 |
|
MD5 | 7f3e7640a5a534573817328bd747cd38 |
|
BLAKE2b-256 | f88a8a0cc77c3e0c1819f2a6690545e48dc25e82ad5dd1bd48255385c7a30589 |