Docs
Supported ChainsopBNBJSON-RPC APINetwork Methods

eth_syncing - opBNB RPC Method

Check sync status on opBNB. Essential for node health monitoring.

Returns syncing status of opBNB node.

Request Parameters

Request

This method accepts no parameters.

Response Body

Response

Code Examples

Bash
curl -X POST https://api-opbnb-mainnet.n.dwellir.com/YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_syncing",
    "params": [],
    "id": 1
  }'
JavaScript
import { JsonRpcProvider } from 'ethers';

const provider = new JsonRpcProvider('https://api-opbnb-mainnet.n.dwellir.com/YOUR_API_KEY');

const syncing = await provider.send('eth_syncing', []);
if (syncing === false) {
  console.log('Node is fully synced');
} else {
  console.log('Syncing:', syncing);
}

On this page