eth_syncing method
Returns an object with data about the sync status or false.

Installation Guide

The WebSocket API is very similar to the RPC API, the only difference is the way you connect to the Node. The method we recommend is to use wscat as a client for connecting to websockets. wscat can be installed using npm:
1
$ sudo npm install -g wscat
Copied!

Connect using the Bware Generated Endpoint

To connect to the endpoint, we will use the following command:
1
$ wscat -c wss://fantom-mainnet-api.bwarelabs.com/ws/<your-endpoint-id>
2
Connected (press CTRL+C to quit)
3
>
Copied!

Simple Request Example

After Connected is shown, you can make a simple query like the following:
1
Connected (press CTRL+C to quit)
2
3
//Request
4
> {"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":53}
5
6
//Response
7
< {"jsonrpc": "2.0", "id": 1, "result": false}
Copied!
Last modified 1mo ago