请求
curl https://eth.l0vdinfra.com/YOUR_KEY \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_syncing","params":[]}'
{
"jsonrpc": "2.0",
"id": 1,
"result": false
}
参数与您的端点
参数
此方法没有参数。
返回值
boolean | object false when fully synced, otherwise an object with startingBlock, currentBlock and highestBlock.
适用场景
Check whether the node behind the endpoint is fully synced.
如何解读结果
false when synced; otherwise an object with startingBlock, currentBlock and highestBlock.
提示
- L0vd endpoints route only to synced nodes, so you should normally see false.
相关方法