klay_protocolVersion

Returns the Klaytn protocol version of the node.

Parameters

None

Return Value

TypeDescription

String

The Klaytn protocol version of the node.

Example

// Request
curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"klay_protocolVersion","params":[],"id":1}' http://klaytn.blockpi.network/v1/rpc/your-api-key

// Result
{
   "jsonrpc":"2.0",
   "id":1,
   "result":"0x40"
}

Last updated