Skip to main content

platform.getBlockchainStatus RPC Method

Get the status of a blockchain.

Updated on
Dec 4, 2024

platform.getBlockchainStatus RPC Method

Parameters

blockchainID
string
The blockchain id for which the status is to be fetched

Returns

status
string
The status can be one of the following:
Validating
string
The blockchain is being validated by this node.
Created
string
The blockchain exists but isn’t being validated by this node.
Preferred
string
The blockchain was proposed to be created and is likely to be created but the transaction isn’t yet accepted.
Syncing
string
This node is participating in this blockchain as a non-validating node.
Unknown
string
The blockchain either wasn’t proposed or the proposal to create it isn’t preferred. The proposal may be resubmitted.
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.getBlockchainStatus",
6
"params":{
7
"blockchainID":"umkbhSrjVw5nUvy1eo25AdrjRkPBdtzAMewuxA2rqEx4YMo4c"
8
},
9
"id": 1
10
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free