curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_syncing \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_syncing",
"params": [],
"id": "<string>"
}'
{
"jsonrpc": "2.0",
"id": 64,
"result": false
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/jsonrpc/eth_syncing \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_syncing",
"params": [],
"id": "<string>"
}'
{
"jsonrpc": "2.0",
"id": 64,
"result": false
}
jsonrpc
— the JSON-RPC protocol version (always “2.0”)method
— the method name (always “eth_syncing”)params
— parameters array (empty for this method)id
— request identifier (number or string)jsonrpc
— the JSON-RPC protocol version (“2.0”)id
— the request identifier that matches the requestresult
— sync status object with startingBlock, currentBlock, highestBlock fields, or false if not syncingjsonrpc eth_syncing
method is used for:
Sync status object or false if not syncing
The response is of type object
.
Was this page helpful?