web3.js web3.utils.bytesToHex
web3.utils.bytesToHex(byteArray)
γƒγ‚€γƒˆεˆ—γ‚’16ι€²ζ•°ζ–‡ε­—εˆ—γ«ε€‰ζ›γ—γΎγ™γ€‚
パラパータ
1. byteArray - Array
ζˆ»γ‚Šε€€
String
ァンプル
code:example.js
web3.utils.bytesToHex( 72, 101, 108, 108, 111, 33, 36 );
"0x48656c6c6f2125"
参考
https://web3js.readthedocs.io/en/1.0/web3-utils.html#bytestohex
#web3.js #web3.js@1.0
web3.js ζ—₯本θͺž API γƒͺフゑレンス