curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_syncing",
"id": 1
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {
"startingBlock": "<string>",
"currentBlock": "<string>",
"highestBlock": "<string>"
}
}
curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_syncing",
"id": 1
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {
"startingBlock": "<string>",
"currentBlock": "<string>",
"highestBlock": "<string>"
}
}
eth_syncing
checks if the node is currently syncing with the blockchain. It provides details about the sync progress if the node is syncing.
none
— This method does not require any parameters.result
— an object containing syncing details if the node is syncing; otherwise, false
. The object includes:
startingBlock
— the block number where the sync started.currentBlock
— the block number where the node is currently synced to.highestBlock
— the highest block number known in the chain that the node is syncing towards.false
.
eth_syncing
method is useful for:
Syncing status of the node
The response is of type object
.
Was this page helpful?