Skip to main content

platform.getBlockchains RPC Method

Get all the blockchains that exist (excluding the P-Chain).

Updated on
Apr 29, 2026
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

All of the blockchains that exists on the network

name
string

The human-readable name of this blockchain

id
string

The blockchain ID

subnetID
string

The ID of the Subnetthat validates this blockchain.

vmID
string

The ID of theVirtual Machine the blockchain runs.

Request
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