curl --request POST \
--url 'https://api.avax.network/ext/bc/P#platform.validates' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "platform.validates",
"params": {},
"id": 1
}
'{
"jsonrpc": "2.0",
"result": {
"blockchainIDs": [
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"
]
},
"id": 1
}Returns the IDs of the blockchains validated by the specified Subnet
curl --request POST \
--url 'https://api.avax.network/ext/bc/P#platform.validates' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "platform.validates",
"params": {},
"id": 1
}
'{
"jsonrpc": "2.0",
"result": {
"blockchainIDs": [
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"
]
},
"id": 1
}JSON-RPC request
Was this page helpful?