eth_syncing
Returns the sync status of the node.

Example

Command Shell
Bash
1
curl https://bsc-<network>.web3api.com/v1/YOUR-API-KEY
2
-X POST
3
-H "Content-Type: application/json"
4
-d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_syncing\",\"params\": [],\"id\":1}"
Copied!
1
curl -X POST 'https://bsc-<network>.web3api.com/v1/YOUR-API-KEY' \
2
-H 'Content-Type: application/json' \
3
--data-raw '{"jsonrpc":"2.0","method":"eth_syncing","params": [],"id":1}'
Copied!
Request Parameters
Response
No parameters required.
Result Fields
SYNC STATUS - A boolean object returning true when the node is syncing and false when the node is not syncing.
Body
1
{
2
"jsonrpc":"2.0",
3
"id":1,
4
"result":false
5
}
Copied!
Last modified 5mo ago
Copy link