HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

eth_syncing

Returns an object with data about the sync status of the node

Parameters
None

Returns
Object|Boolean, An object with sync status data or FALSE, when not syncing, the items in object includes:

startingBlockQUANTITYThe block at which the import started (will only be reset, after the sync reached his head)
currentBlockQUANTITYThe current block
highestBlockQUANTITYThe estimated highest block

Example

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

Result

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