Web3 Entity Version Source 1.12.14-unstable/generated-at:2023-09-04T08:02:34-06:00
OpenRPC 1.2.6
web3_clientVersion ClientVersion returns the node name
Params (0) None
Result string
Client Method Invocation Examples Source code
func ( s * web3API ) ClientVersion () string {
return s . stack . Server (). Name
} // ClientVersion returns the node name
View on GitHub → web3_sha3 Sha3 applies the ethereum sha3 implementation on the input. It assumes the input is hex encoded.
Params (1) Parameters must be given by position .
1: input hexutil.Bytes
Result hexutil.Bytes
Client Method Invocation Examples Source code
func ( s * web3API ) Sha3 ( input hexutil . Bytes ) hexutil . Bytes {
return crypto . Keccak256 ( input )
} // Sha3 applies the ethereum sha3 implementation on the input.
// It assumes the input is hex encoded.
View on GitHub → Last update: 2024-06-10