Sha256: 2325e025f435613644dc51ecce413dc4cdcd23fa5e4f46488bf4a25f9ad2f644

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ts_lib_crypto_1 = require("@waves/ts-lib-crypto");
function ethTxId2waves(ethTxId) {
    var id = ethTxId;
    if (ethTxId.startsWith('0x'))
        id = ethTxId.slice(2);
    return ts_lib_crypto_1.base58Encode(ts_lib_crypto_1.base16Decode(id));
}
exports.default = ethTxId2waves;
//# sourceMappingURL=ethTxId2waves.js.map

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waves_lib-0.1.0 js/node_modules/@waves/node-api-js/cjs/tools/transactions/ethTxId2waves.js