Parameters
None
Returns
-
Object|Boolean- An object with sync status data or FALSE, when not syncing, the items in the object include:Item Name Data Type Description startingBlockQUANTITYThe block at which the import started (will only be reset, after the sync reaches its head). currentBlockQUANTITYCurrent block. highestBlockQUANTITYEstimated highest block.
Example
Request
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":64}'Response
{
"jsonrpc": "2.0",
"id": 64,
"result": {
"startingBlock": "0x20e76cc",
"currentBlock": "0x20e76df",
"highestBlock": "0x20e76e0"
}
}