AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

web3_clientVersion RPC Method

The API credit value for this method is 2 . To learn more about API credits and each method's value, visit the API Credits page.

Parameters:

  1. none

Returns:

  1. result - The current client version in string format

Code Examples:

require 'eth'
client = Eth::Client.create 'http://sample-endpoint-name.network.quiknode.pro/token-goes-here/'
payload = {
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": [],
"id": "1"
}
response = client.send(payload.to_json)
puts response
Ready to get started? Create a free account