curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "info.getNetworkName",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Returns the human-readable name of the Avalanche network that this node is connected to (e.g., “mainnet”, “fuji”, “local”).
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "info.getNetworkName",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Show properties
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43114 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "info.getNetworkName",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?