cfx_getStatus
- CURL
curl --request POST \
--url https://main.confluxrpc.com \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"params": [],
"method": "cfx_getStatus"
}'
Result
Schema
type : object
bestHash bestHash
type : stringPattern :^0x[0-9,a-f,A-F]{64}$
blockNumber blockNumber
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,15}|0)$
chainId chainId
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,15}|0)$
epochNumber epochNumber
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,15}|0)$
ethereumSpaceChainId ethereumSpaceChainId
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,15}|0)$
latestCheckpoint latestCheckpoint
type : stringPattern :^0x([1-9a-f][0-9a-f]{0,15}|0)$
latestConfirmed latestConfirmed
type