I couldn't find such a function in ethers.js ( hexlify doesn't accept strings as input), but maybe you'll find this utf8ToHex helper function useful:
確定! 回上一頁