Web3

Web3 methods

web3_clientVersion

Returns the current client version.

Parameters

None

Returns

  • String - The current client version

Example

curl https://node1-mainnet.maalscan.io -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}'

web3_sha3

Returns Keccak-256 (not the standardized SHA3-256) of the given data.

Parameters

  • DATA - the data to convert into a SHA3 hash

Returns

  • DATA - The SHA3 result of the given string.

Example

curl https://node1-mainnet.maalscan.io -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x68656c6c6f20776f726c64"],"id":1}'
Last modified 5mo ago