import { base16Decode, base58Encode } from '@waves/ts-lib-crypto'; export default function ethTxId2waves(ethTxId) { let id = ethTxId; if (ethTxId.startsWith('0x')) id = ethTxId.slice(2); return base58Encode(base16Decode(id)); } //# sourceMappingURL=ethTxId2waves.js.map