Skip to main content
EVM

eth_syncing

Summary: Get sync status

This request returns an object with data about the sync status or false, indicating that that the node is fully synchronized.

Parameters

This method doesn't accept any parameters.

Returns

Synchronization status data object, or false if not synchronizing.
syncingStatus oneOf

Syncing status.

Syncing progress object

Syncing progress

startingBlock string

Block number at which the import started, in hexadecimal. This will only be reset after the sync reaches the head.

Pattern: ^0x([1-9a-f]+[0-9a-f]*|0)$

currentBlock string

Block number of the current syncing block, in hexadecimal. This is the same as eth_blockNumber.

Pattern: ^0x([1-9a-f]+[0-9a-f]*|0)$

highestBlock string

Block number of the highest syncing block, in hexadecimal.

Pattern: ^0x([1-9a-f]+[0-9a-f]*|0)$

Not syncing

Should always return false if not syncing.

Customize request
Parameter
Value
Request
curl https://linea-mainnet.infura.io/v3/<YOUR-API-KEY> \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_syncing",
"params": [],
"id": 1
}'
Example response
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"startingBlock": "0x8A9D0",
"currentBlock": "0x8FA20",
"highestBlock": "0x90B70"
}
}