MAAL CHAIN DOCUMENTATION
  • MAAL Network Details
  • How to connect to MAAL Chain
    • ETH APIs
    • NET
    • Web3
    • Tx Pool
    • Debug
  • MAAL Contract Library
  • MaalChain Architecture
  • What is Proof of Stake?
  • Who is a validator?
  • Validator Nodes
  • Minimum system requirements
  • MAAL Validator DAO
Powered by GitBook
On this page
  • web3_clientVersion​
  • web3_sha3​
  1. How to connect to MAAL Chain

Web3

Web3 methods

PreviousNETNextTx Pool

Last updated 1 year ago

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.

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

Example

​
​
​
​
​
​
​
​