curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_syncing",
"params": [],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": false
}
Returns the synchronization status of the node.
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_syncing",
"params": [],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": false
}
false
as nodes are always considered synchronized.
false
, indicating the node is fully synchronized.
false
. The network architecture ensures nodes are always synchronized, so there’s no syncing state.const getSyncStatus = async () => {
const response = await fetch('https://hyperliquid-mainnet.core.chainstack.com/YOUR_API_KEY/evm', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
jsonrpc: '2.0',
method: 'eth_syncing',
params: [],
id: 1
})
});
const data = await response.json();
return data.result; // Always false on Hyperliquid
};
// Usage
const syncStatus = await getSyncStatus();
console.log('Sync status:', syncStatus); // false
console.log('Node synchronized:', syncStatus === false); // true
// Simple readiness check (always ready on Hyperliquid)
const checkNodeReady = async () => {
const syncStatus = await getSyncStatus();
return {
ready: syncStatus === false,
synchronized: true,
message: 'Node is ready for operations'
};
};
// Usage
const status = await checkNodeReady();
console.log('Node status:', status);
Successful response with synchronization status
The response is of type object
.