Skip to main content

platform.getBlockchains RPC Method

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

Updated on
Dec 4, 2024

platform.getBlockchains RPC Method

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
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.getBlockchains",
6
"params":{},
7
"id": 1
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free