TriportRPC

eth_getLogs

Return event logs matching a filter.

Robinhood Chain mainnet (chain ID 4663)robinhood:rpcrobinhood_read_rpc_heavy - 15 / 20 / 100 / 250 RPS (free / basic / pro / business) (default, unmeasured); enterprise unlimited

eth_getLogs return event logs matching a filter. The published signature and response shape come from the measured Robinhood OpenRPC contract.

Parameters

JSON-RPC params is a positional array.

filterLogFilterrequired
Positional OpenRPC parameter.

Response

Representative envelope with the top-level shape of the accepted fixture:

Errors

See Robinhood errors. Invalid parameters return a JSON-RPC parameter error; authentication and quota failures use the shared client error contract. Unknown failures are returned without an implicit retry.

Examples

const response = await fetch("https://triport.io/rpc/robinhood", {
  method: "POST",
  headers: { "x-token": process.env.TRIPORT_API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({"jsonrpc":"2.0","id":1,"method":"eth_getLogs","params":[{"fromBlock":"latest","toBlock":"latest"}]}),
});
const payload = await response.json();

Notes

  • Every upstream channel has a different measured range/result ceiling. Triport may reconstruct deep ranges from block receipts; that path is slower.
  • Always bound the range and use address or topics where possible.