Skip to main content

platform.validates RPC Method

Get the IDs of the blockchains a Subnet validates.

Updated on
Nov 2, 2023

platform.validates RPC Method

Parameters

subnetID
string
the blockchain IDs.

Returns

blockchainIDs
[]string
Eachelement is the ID of a blockchain the Subnet validates.
Request
1
curl --location --request POST https://docs-demo.avalanche-mainnet.quiknode.pro/ext/bc/C/rpc/ext/bc/P \
2
--header 'Content-Type: application/json' \
3
--data-raw '{
4
"jsonrpc": "2.0",
5
"method": "platform.validates",
6
"params": {
7
"subnetID":"BE5Nv8objSftNwxzcxkZGwCfVs3FPdJBio4DBwCF2A5i7RasU"
8
},
9
"id": 1
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free