Skip to main content

platform.validatedBy RPC Method

Get the Subnet that validates a given blockchain.

Updated on
Dec 4, 2024

platform.validatedBy RPC Method

Parameters

blockchainID
string
REQUIRED
The blockchain’s ID

Returns

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