Returns the sync status of the node.
curl https://bsc-<network>.web3api.com/v1/YOUR-API-KEY -X POST -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"method\":\"eth_syncing\",\"params\": [],\"id\":1}"
curl -X POST 'https://bsc-<network>.web3api.com/v1/YOUR-API-KEY' \ -H 'Content-Type: application/json' \ --data-raw '{"jsonrpc":"2.0","method":"eth_syncing","params": [],"id":1}'
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.
SYNC STATUS
true
false
Body
{ "jsonrpc":"2.0", "id":1, "result":false }
Last updated 3 years ago