跳到主要内容

eth_syncing

Returns an object with data about the sync status or false.

curl --request POST \
--url https://evm.confluxrpc.com \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"params": [],
"method": "eth_syncing"
}'

Result

Sync status
oneOf
type : object
  • currentBlock currentBlock
    type : string
    Pattern : ^0x([1-9a-f][0-9a-f]{0,63}|0)$
  • highestBlock highestBlock
    type : string
    Pattern : ^0x([1-9a-f][0-9a-f]{0,63}|0)$
  • startingBlock startingBlock
    type : string
    Pattern : ^0x([1-9a-f][0-9a-f]{0,63}|0)$
  • warpChunksAmount warpChunksAmount
    type : string
    Pattern : ^0x([1-9a-f][0-9a-f]{0,63}|0)$
  • warpChunksProcessed warpChunksProcessed
    type : string
    Pattern : ^0x([1-9a-f][0-9a-f]{0,63}|0)$