JSON-RPCMethods
eth_syncing: parameters, returns and CU
Return the node's syncing status.
Summary
Return the node's syncing status.
Compute units (CU) and pricing
CU per call
10 CU
Price per 1M calls (USD)
$1.00
Parameters
This method takes no parameters.
Returns
- Type:
boolean|object - Description: false when not syncing; otherwise an object with progress fields such as startingBlock, currentBlock and highestBlock.
Notes
Clients may include extra fields in the syncing object; combine it with the latest block number to judge whether the node is usable.
Request example
export BLOCKVECTRA_API_KEY=rgw_your_api_key
curl -X POST "https://api.blockvectra.com/v1/robinhood_mainnet" \
-H 'Content-Type: application/json' \
-H "x-api-key: $BLOCKVECTRA_API_KEY" \
-d '{
"jsonrpc": "2.0",
"method": "eth_syncing",
"params": [],
"id": 1
}'Supported chains
Available on all 29 supported chains.
Related references
Last updated: