Links

Web3 module

web3.abi

Invocation
web3.abi(name)
Parameter
Type
Description
name
String
Returned type
Description
String
Example request of web3.abi
web3.abi(name)

web3.clientVersion

Returns the current client version.
Invocation
web3.clientVersion
Returned type
Description
String
Example request of web3.clientVersion
Example response of web3.clientVersion
web3.clientVersion
Nethermind/v1.10.75-0-310037468-20210717/X64-Linux/5.0.7

web3.sha3

Returns Keccak of the given data.
Invocation
web3.sha3(data)
Parameter
Type
Description
data
Data
Returned type
Description
Hash
Example request of web3.sha3
Example response of web3.sha3
web3.sha3(["0x47767638636211111a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01abc"])
0xed3a98886604dcd55a159d55d35f7c14fa2f2aab7fbccbfa5511d8dadeea9442

web3.toDecimal

Invocation
web3.toDecimal(hex)
Parameter
Type
Description
hex
String
Returned type
Description
JavaScript Object
Example request of web3.toDecimal
web3.toDecimal(hex)