Parameters
chainId
string
default:"43113"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"platform.getSubnets"
required
JSON-RPC method name.
Get ownership and control metadata about a given Subnet or L1 Subnet.Parameters for platform.getSubnets:params.subnetID: The Subnet ID to query.
Returns
The JSON-RPC result.
Whether the subnet requires permissioned control for updates.
List of control addresses that can modify the subnet.
Number of control signatures required to approve subnet changes.
Unix timestamp until which subnet updates are locked.
The transaction ID that transformed the subnet (e.g., to Elastic or L1).
ID of conversion to L1 if applicable.
The Chain ID that can modify this subnet’s validator set.
Address that has management permissions on this subnet.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=43113 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "platform.getSubnets",
"params": {}
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}