Skip to main content

net_version

Get network ID on the Chiliz network.

Parameters#

None (this method takes no parameters)

Returns#

Returns the current network ID as a string. For Chiliz mainnet, this is "88888".

Implementation Example#

Examples#

curl -X POST https://api-chiliz-mainnet-archive.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "net_version",
"params": [],
"id": 1
}'

Response Example#

{
"jsonrpc": "2.0",
"id": 1,
"result": "88888"
}

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