Skip to main content
POST
/
v1
/
rpc
/
getSubnetwork
Get subnetwork information
curl --request POST \
  --url https://api.kas.fyi/v1/rpc/getSubnetwork \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "subnetworkId": "0100000000000000000000000000000000000000"
}'
{
  "gasLimit": "10000000000"
}

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

Body

application/json
subnetworkId
string
required

Subnetwork ID in hex format

Example:

"0100000000000000000000000000000000000000"

Response

200 - application/json

Subnetwork information retrieved successfully

gasLimit
string
required

Gas limit for the subnetwork

Example:

"10000000000"

⌘I