> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alphscan.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Event row components

> NormalizedEventRow, ContractCallEventRow, NormalizedEventRowByCategory

## NormalizedEventRow

Default row for any normalized event. Shows category badge, sub\_kind, dapp\_id, from/to addresses, amount (and amount\_usd if present), and a "View transaction" link when explorerUrl is set.

### Props (NormalizedEventRowProps)

| Prop             | Type            | Description                                                                                 |
| ---------------- | --------------- | ------------------------------------------------------------------------------------------- |
| event            | NormalizedEvent | Required. The event to display.                                                             |
| explorerUrl      | string or null  | Base URL for tx link (e.g. [https://explorer.alephium.org](https://explorer.alephium.org)). |
| className        | string          | Root element class.                                                                         |
| badgeClassName   | string          | Category badge class.                                                                       |
| contentClassName | string          | Content area class.                                                                         |
| amountDecimals   | number          | Decimals for amount formatting (default 4).                                                 |

### Example

```tsx theme={null}
import { NormalizedEventRow } from "@alphscan/sdk-react-ui";

<NormalizedEventRow
  event={event}
  explorerUrl="https://explorer.alephium.org"
  amountDecimals={4}
/>
```

***

## ContractCallEventRow

Row for events with category **contract\_call**. Shows contract address, method/method\_name, parsed parameters, token approved section, and tx link. Uses resolvedParameters or Parameters from parsed\_arguments when available.

### Props (ContractCallEventRowProps)

Extends NormalizedEventRowProps (event must be NormalizedEvent with category "contract\_call"). Same explorerUrl, className, badgeClassName, contentClassName.

### Example

```tsx theme={null}
import { ContractCallEventRow } from "@alphscan/sdk-react-ui";

<ContractCallEventRow
  event={event}
  explorerUrl="https://explorer.alephium.org"
/>
```

***

## NormalizedEventRowByCategory

Chooses the row component by event category. If category is **contract\_call**, renders **ContractCallEventRow**; otherwise **NormalizedEventRow**. Accepts all NormalizedEventRowProps.

### Props (NormalizedEventRowByCategoryProps)

Same as NormalizedEventRowProps: event, explorerUrl?, className?, badgeClassName?, contentClassName?, amountDecimals?.

### Example

```tsx theme={null}
import { NormalizedEventRowByCategory } from "@alphscan/sdk-react-ui";

<NormalizedEventRowByCategory event={event} explorerUrl="https://explorer.alephium.org" />
```

**NormalizedEventsList** uses this internally when **useCategoryComponents** is true.
