WEB3 methods
POST : web3_clientVersion
Returns the current client version.
Parameters
None
Returns
result
: string - Current client version.BODY
{
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": [],
"id": 1
}
POST : web3_sha3
Returns a SHA3 hash of the specified data. The result value is a Keccak-256 hash, not the standardized SHA3-256.
Parameters
DATA
- Data to convert to a SHA3 hash.Returns
result
(DATA) - SHA3 result of the input data.BODY
{
"jsonrpc": "2.0",
"method": "web3_sha3",
"params": [
"0x68656c6c6f20776f726c00"
],
"id": 1
}
Last modified 5mo ago