hashwrap

Get an SPV envelope for any transaction

Usage no npm install needed!

<script type="module">
  import hashwrap from 'https://cdn.skypack.dev/hashwrap';
</script>

README

hashwrap

Get an SPV envelope for any transaction

The code is hosted on GitHub and the package is available through NPM.

Installation

npm i hashwrap

Example Usage

const hashwrap = require('hashwrap')

// You just need the TXID
// Envelope is an object that contains an SPV envelope
const envelope = await hashwrap('your-txid-here')

API

License

The license for the code in this repository is the Open BSV License.