UNPKG

@iam4x/bsc-scan

Version:

An efficient BNB and token balance scanner

8 lines 364 B
"use strict";var _abi=require("@findeth/abi");Object.defineProperty(exports,"__esModule",{value:!0}),exports.withId=void 0;/** * Add 0x-prefix and ABI identifier to an encoded buffer. * * @param {string} id * @param {Uint8Array} data * @return {string} */const withId=(a,b)=>`0x${a}${(0,_abi.toHex)(b)}`;exports.withId=withId; //# sourceMappingURL=abi.js.map