⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

eth_protocolVersion

Returns the current Ethereum protocol version on Avalanche C-Chain.

Parameters

This method accepts no parameters.

{
"jsonrpc": "2.0",
"method": "eth_protocolVersion",
"params": [],
"id": 67
}

Returns

String - The current Ethereum protocol version.

Implementation Example

curl -X POST https://api-avalanche-mainnet-archive.n.dwellir.com/YOUR_API_KEY/ext/bc/C/rpc \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_protocolVersion",
"params": [],
"id": 67
}'

Response Example

{
"id": 67,
"jsonrpc": "2.0",
"result": "0x41"
}

Note: Avalanche C-Chain implements Ethereum protocol compatibility with the latest features.


Need help? Contact our support team or check the Avalanche documentation.