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

net_version

Get network ID on the Zora network.

Parameters

Varies by method. Please refer to the Ethereum JSON-RPC specification for detailed parameter information.

Returns

The return value depends on the specific method being called.

Implementation Example

curl -X POST https://api-zora-mainnet.n.dwellir.com/2307f636-d01d-4f85-ba5e-514ff37069f5 \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "net_version",
"params": [],
"id": 1
}'

Response Example

{
"jsonrpc": "2.0",
"id": 1,
"result": "0x..."
}

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