eth_syncing

Returns a node synchronization-status object, or false when the node has no connected peers.

Parameters
None

Example

Request

curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":64}'

When the node has connected peers, the result is a synchronization-status object:

{
	"jsonrpc": "2.0",
	"id": 64,
	"result": {
		"startingBlock": "0x20e76cc",
		"currentBlock": "0x20e76df",
		"highestBlock": "0x20e76e0"
	}
}

When the node's peer list is empty, the result is:

{
  "jsonrpc": "2.0",
  "id": 64,
  "result": false
}

In java-tron, false means that the node currently has no connected peers; it does not by itself prove that the node is synchronized. Also check eth_blockNumber, the timestamp of the latest local block, and a trusted height for the target network before treating the data as current.