JSPM

@bitgo/utxo-bin

2.12.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 480
  • Score
    100M100P100Q99288F
  • License MIT

Command-line utility for BitGo UTXO transactions

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bitgo/utxo-bin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    utxo-bin

    This repository contains a CLI tool for parsing BitGo wallet transactions (withdrawals) and formatting them for terminal output.

    Installation

    npm install --global @bitgo/utxo-bin

    Sample Usage

    parseTx

    From hex

    utxo-bin -n bitcoin parseTx --stdin
    <paste txhex>
    <Ctrl-D>

    Or

    utxo-bin -n bitcoin parseTx --clipboard

    From txid

    utxo-bin -n bitcoin parseTx --txid b0b7e5c2fbbbeb42478f91e1c14b300624a9419631e70dd1564084fb28a55155

    Lookup inputs

    utxo-bin -n bitcoin parseTx \
      --txid b0b7e5c2fbbbeb42478f91e1c14b300624a9419631e70dd1564084fb28a55155 \
      --fetchInputs

    parseAddress

    utxo-bin -n bitcoin parseAddress 3QJmV3qfvL9SuYo34YihAf3sRCW3qSinyC

    Convert to other networks:

    utxo-bin -n bitcoin parseAddress 3QJmV3qfvL9SuYo34YihAf3sRCW3qSinyC --convert