Skip to main content

platform.getBlockchains RPC Method

Loading...

Updated on
Apr 29, 2026

platform.getBlockchains RPC Method

To use the platform.getBlockchains method on the P-Chain, ensure that the end of your URL includes ext/bc/P.

Parameters

This method does not accept any parameters

Returns

blockchains
array
Loading...
name
string
Loading...
id
string
Loading...
subnetID
string
Loading...
vmID
string
Loading...
Request
1
curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "platform.getBlockchains",
6
"params": {},
7
"id": 1
8
}'
1
curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "platform.getBlockchains",
6
"params": {},
7
"id": 1
8
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"blockchains": [
5
{
6
"id": "umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c",
7
"name": "C-Chain",
8
"subnetID": "11111111111111111111111111111111LpoYY",
9
"vmID": "mgj786NP7uDwBCcq6YwThhaN8FLyybkCa4zBWTQbNgmK6k9A6"
10
},
11
{
12
"id": "fK5e6T3EniMqagBkxXjAug9EbhFDZbEzPPr4f22uwMoP5i2cJ",
13
"name": "X-Chain",
14
"subnetID": "11111111111111111111111111111111LpoYY",
15
"vmID": "jvYyfQTxGMJLuGWa55kdP2p2zSUYsQ5Raupu4TW34ZAUBAbtq"
16
}
17
]
18
},
19
"id": 1
20
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"blockchains": [
5
{
6
"id": "umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c",
7
"name": "C-Chain",
8
"subnetID": "11111111111111111111111111111111LpoYY",
9
"vmID": "mgj786NP7uDwBCcq6YwThhaN8FLyybkCa4zBWTQbNgmK6k9A6"
10
},
11
{
12
"id": "fK5e6T3EniMqagBkxXjAug9EbhFDZbEzPPr4f22uwMoP5i2cJ",
13
"name": "X-Chain",
14
"subnetID": "11111111111111111111111111111111LpoYY",
15
"vmID": "jvYyfQTxGMJLuGWa55kdP2p2zSUYsQ5Raupu4TW34ZAUBAbtq"
16
}
17
]
18
},
19
"id": 1
20
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free