cURL
curl --request POST \ --url 'https://api.avax.network/ext/bc/P#platform.validatedBy' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "platform.validatedBy", "params": {}, "id": 1 }'
{ "jsonrpc": "2.0", "result": { "subnetID": "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM" }, "id": 1 }
Returns the ID of the Subnet that validates the specified blockchain
JSON-RPC request
"2.0"
"platform.validatedBy"
Method parameters
Show child attributes
1
Successful response
Method result
Was this page helpful?