UNPKG

@mutants/cardano-tx-builder

Version:

A package that provides utility functions to build and destructure a cardano transaction

13 lines (12 loc) 327 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.decodeInput = void 0; const decodeInput = (encodedInput) => { const txHash = encodedInput[0].toString("hex"); const txIndex = encodedInput[1]; return { txHash, txIndex, }; }; exports.decodeInput = decodeInput;