eth_syncing
BNB Smart Chain / https://triport.io/rpc/bsc
Minimum tier: Free
Last updated:
eth_syncing reports whether the selected BNB Smart Chain node is synchronizing.
A fully synchronized node returns the boolean false. A synchronizing node returns an object containing starting, current, and highest block quantities.
Use it for node-state diagnostics, not as the chain's canonical block height. eth_blockNumber returns the selected node's current head and net_peerCount reports its peer count.
Parameters
This method takes no parameters.
Returns
| Field | Type |
|---|---|
| syncing | SyncingStatus |
Examples
curl https://triport.io/rpc/bsc \
-X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer <api-key>' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_syncing","params":[]}'const res = await fetch("https://triport.io/rpc/bsc", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
body: JSON.stringify({
"jsonrpc": "2.0",
"id": 1,
"method": "eth_syncing",
"params": []
}),
});
const data = await res.json();import requests
resp = requests.post(
"https://triport.io/rpc/bsc",
headers={"Authorization": "Bearer <api-key>"},
json={"jsonrpc":"2.0","id":1,"method":"eth_syncing","params":[]},
)
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Chain: BNB Smart Chain.
- Clusters: mainnet.
- Credit cost: 1 per call.
FAQ
- What does eth_syncing do?
- Return node sync progress or false.
- How many credits does eth_syncing cost?
- eth_syncing costs 1 credit(s) per call on Triport by default.
- Is eth_syncing available over WebSocket?
- eth_syncing is an HTTP JSON-RPC method.