Web3 module

web3.abi

Invocation

web3.abi(name)

Parameter

Type

Description

name

String

Returned type

Description

String

Example request of web3.abi
Example request of web3.abi
web3.abi(name)

web3.clientVersion

Returns the current client version.

Invocation

web3.clientVersion

This method doesn't have parameters.

Returned type

Description

String

Example request of web3.clientVersion
Example request of web3.clientVersion
web3.clientVersion

See also JSON RPC web3_clientVersion

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 request of web3.sha3
web3.sha3(data)

See also JSON RPC web3_sha3

web3.toDecimal

Invocation

web3.toDecimal(hex)

Parameter

Type

Description

hex

String

Returned type

Description

JavaScript Object

Example request of web3.toDecimal
Example request of web3.toDecimal
web3.toDecimal(hex)