web3.js web3.utils
code:utils.js
Web3.utils
web3.utils
Ethereum DApps やその他の web3.js パッケージのためのユーティリティ機能を提供します。
ユーティリティ機能は Web3 クラスオブジェクトから直接扱うこともできます。
動作デモ
code:demo.js
const utils = Web3.utils
console.log(utils)
$(document.body).append(JSON.stringify(Object.keys(utils)))
原文
検証済