Skip to main content

platform.getSubnets RPC Method

Get all the Subnets that exist.

Updated on
Nov 02, 2023

Parameters

ids
[]string

The IDs of the subnets to get information about.

Returns

subnets
array

An array of subnet objects.

id
string

The ID of the subnet.

controlKeys
array

Control key values for the subnet.

threshold
string

Threshold signatures from addresses in controlKeys are needed to add a validator to the subnet.

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free