Skip to main content
GET
/
v1
/
rpc
/
getCurrentNetwork
Get current network
curl --request GET \
  --url https://api.kas.fyi/v1/rpc/getCurrentNetwork \
  --header 'x-api-key: <api-key>'
{
  "network": "mainnet"
}

Cost

This endpoint costs 0.1 RU (Request Units) per call.

Authorizations

x-api-key
string
header
required

API key required for authentication. Get your API key at https://developer.kas.fyi

Response

200 - application/json

Current network retrieved successfully

network
string
required

Current network identifier

Example:

"mainnet"

⌘I