🔄 eth_syncing - Base Chain
Returns
⚠️ Warning:
eth_syncing
always returns "false" when using Chainnodes.org (opens in a new tab) as our nodes are always synced for you.
-
Boolean or object
false if the node is in sync otherwise it's true with:-
startingblock
- The block at which the import started encoded as hexadecimal. -
currentblock
- The current block, same as eth_blockNumber encoded as hexadecimal. -
highestblock
- The estimated highest block encoded as hexadecimal.
-
{
"jsonrpc": "2.0",
"id": 1,
"result": false
}
Parameters
None
Request
POST https://base-mainnet.chainnodes.org/YOUR-API-KEY
💡 Confusing? Ask blockchain developers in Chainnodes Telegram Chat (opens in a new tab)
Need RPC API keys?
Get 12.5M archival requests for free today.
Example
HTTPS POST
- HTTPS POST Request with a JSON RPC call in the body
- Replace YOUR-API-KEY with the API key from your Chainnodes.org Dashboard
- You can use a different supported network by replacing
base-mainnet
curl https://base-mainnet.chainnodes.org/YOUR-API-KEY \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
WSS
- WSS Request with a JSON RPC call in the body
- Replace YOUR-API-KEY with the API key from your Chainnodes.org Dashboard
- You can use a different supported network by replacing
base-mainnet
wscat \
-c wss://base-mainnet.chainnodes.org/YOUR-API-KEY \
-w 1 \
-x '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
JSON-RPC Base API Documentation by CHAINNODES is based on Reth node client. Contact us if you are interested in specific methods that are only available on geth, besu, Nethermind or Erigon