---
title: "Get Logs List"
method: POST
path: "/node/rest/eth_getLogs"
tags: ["node"]
---

# Get Logs List

`POST /node/rest/eth_getLogs`

## Request

- Base URL: `https://api.watchdata.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.watchdata.io/node/rest/eth_getLogs`
- Auth: none declared

## Request body

- LogIn
  - `fromBlock` union
    - integer
    - string
  - `toBlock` union
    - integer
    - string
  - `address` string[], nullable
  - `topics` string[], nullable
  - `blockHash` string, nullable

## Response `200`

Successful Response

- LogOut[]
  - `address` string, required
  - `blockHash` string, required
  - `blockNumber` string, required
  - `data` string, required
  - `logIndex` string, required
  - `topics` string[], required
  - `transactionHash` string, required
  - `transactionIndex` string, required
  - `removed` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/watchdata/apis/watchdata-api.md) - [All operations](https://skmtc.dev/watchdata/apis/watchdata-api/llms.txt) - [OpenAPI document](https://skmtc.dev/watchdata/apis/watchdata-api/revisions/8ce15acc50a3?raw)
