QIE Blockchain Docs
  • QIE Blockchain
  • Fundamental Topics
    • How can i add QIE to Metamask?
    • What is Blockchain?
    • What is QIE?
    • What are Smart Contracts?
    • What are Dapps?
    • What’s Changing in the QIE Blockchain Ecosystem?
    • QIE Blockchain Whitepaper
  • Consensus
    • Consensus
    • What is Proof Of Stake?
    • Proof Of Stake
    • Why Transition to Proof Of Stake?
    • Migration Process
  • Build & API
    • Run a QIE Blockchain full node
      • Starting a Full Node
      • Genesis File
    • Becoming a Validator on the New QIE Blockchain
      • Steps for Validator Setup
    • QIE Blockchain CLI Parameters
    • RPC API
      • QIE methods
      • Txpool methods
      • WEB3 methods
Powered by GitBook
On this page
  • web3_clientVersion
  • web3_sha3
  1. Build & API
  2. RPC API

WEB3 methods

web3_clientVersion

Returns the current client version.

Parameters

None

Returns

  • String - The current client version

Example

curl  https://rpc-endpoint.io:8545 -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://rpc-endpoint.io:8545 -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_sha3","params":["0x68656c6c6f20776f726c64"],"id":1}'
PreviousTxpool methods

Last updated 11 months ago