2. API DocumentationΒΆ
The Blockstream Esplora API exposes multiple endpoints and methods associated with the following resources: Transactions, Addresses, Blocks, Mempool, Fee estimates and Issued assets.
Bloxplorer is a Python wrapper around these resources and methods.
The explorers are instantiated with the following base urls:
Bitcoin Explorer: https://blockstream.info/api/
Liquid Explorer: https://blockstream.info/liquid/api/
Bitcoin Testnet Explorer: https://blockstream.info/testnet/api/
After you import an explorer, you can use its methods by following this notation:
>>> explorer.resource.method(*args, **kwargs)
Example:
>>> bitcoin_explorer.blocks.get_blocks(start_height='587840')
All the available resource methods are documented below: