Skip to content

Latest commit

 

History

History
 
 

bitcoin-esplora-api-provider

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

@liquality/bitcoin-esplora-api-provider

Build Status Coverage Status Standard Code Style MIT License @liquality/bitcoin-esplora-api-provider Gitter Telegram Greenkeeper badge

⚠️ This project is under heavy development. Expect bugs & breaking changes.

Query different blockchains with account management using a single and simple interface.

Installation

npm i @liquality/bitcoin-esplora-api-provider

or

<script src="https://cdn.jsdelivr.net/npm/@liquality/[email protected]/dist/bitcoin-esplora-api-provider.min.js"></script>
<!-- sourceMap at https://cdn.jsdelivr.net/npm/@liquality/[email protected]/dist/bitcoin-esplora-api-provider.min.js.map -->
<!-- available as window.BitcoinEsploraApiProvider -->

Usage

import { BitcoinEsploraApiProvider } from '@liquality/bitcoin-esplora-api-provider'

const apiProvider = new BitcoinEsploraApiProvider('https://blockstream.info/testnet/api')

await apiProvider.getBlockByNumber(1)

License

MIT