# GET /v4/analytics/transactions/{chainId}

_Merkl Analytics API_

> Get states by transaction hashes (V2)

Retrieves position states associated with the given transaction hashes from the V2 position_states table. Returns enriched state data including protocol, action, and token metadata derived from state descriptions.

### Path parameters

- `chainId` (string | number) _(required)_

### Query parameters

- `txHashes` (string) _(required)_
- `positionKeyFilter` (string)
- `timestamps` (string)

## Responses

- **200** Response for status 200

## Example request

```bash
curl -X GET "https://analytics.merkl.xyz/v4/analytics/transactions/{chainId}?txHashes=<txHashes>" \
  -H "x-api-key: YOUR_API_KEY"
```