RPC method

eth_getLogs on BNB Smart Chain

Supported on SwiftNodes

Measured 2026-10-04 by our weekly probe, which calls eth_getLogs through the same BNB Smart Chain endpoint customers use.

What eth_getLogs does

Returns the event logs that match a filter: a block range, optional contract addresses and up to four topics. It is how indexers, dashboards and wallets read transfers, swaps and other contract events.

eth_getLogs on BNB Smart Chain: what we measured

  • The finalized tag tracks the head on BNB Smart Chain (instant finality), so results at "latest" do not get reorganised.

Example request

curl -s https://rpc.swiftnodes.io/rpc/bsc?key=YOUR_API_KEY \
  -X POST -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_getLogs","params":[{"fromBlock":"latest","toBlock":"latest"}]}'
import { createPublicClient, http } from "viem";

const client = createPublicClient({ transport: http("https://rpc.swiftnodes.io/rpc/bsc?key=YOUR_API_KEY") });

// Any JSON-RPC method, typed loosely: eth_getLogs on BNB Smart Chain
const result = await client.request({
  method: "eth_getLogs",
  params: [{"fromBlock":"latest","toBlock":"latest"}],
});

Other methods on BNB Smart Chain

eth_getLogs on other chains

Support differs by chain; the full measured table is on the eth_getLogs reference.

Frequently asked questions

Does BNB Smart Chain support eth_getLogs?

Yes. eth_getLogs answered correctly on the SwiftNodes BNB Smart Chain endpoint in our weekly method probe (2026-10-04), which sends real requests through the customer path.

Are there limits on eth_getLogs on BNB Smart Chain?

The finalized tag tracks the head on BNB Smart Chain (instant finality), so results at "latest" do not get reorganised.

BNB Smart Chain endpoints, live block height and WebSocket status are on the BNB Smart Chain RPC page.

One key covers every chain we serve, and SwiftNodes has a free tier.