Skip to main content
@alphscan/sdk-react-ui provides React components for displaying normalized events (e.g. from the transaction normalized-events API). Components use Tailwind CSS and support dark mode. They are designed to work with data from @alphscan/sdk or @alphscan/sdk-react (e.g. useTxNormalizedEvents).

Repository & package

Part of AlphScan; npm packages are private until release.

Features

  • NormalizedEventsList — render a list of normalized events with optional custom row component or per-category row (e.g. ContractCallEventRow for contract_call).
  • NormalizedEventRow — default row for any event (category, from/to, amount, tx link).
  • NormalizedEventRowByCategory — picks a category-specific row when available, otherwise NormalizedEventRow.
  • ContractCallEventRow — detailed row for contract_call events (method, parameters, token approved).

Package

Peer: react >= 18. Styling: import @alphscan/sdk-react-ui/styles.css (Tailwind output).

Quick example

Exports

Next steps

Installation

Install and add styles.

NormalizedEventsList

List component and props.

Event row components

NormalizedEventRow, ContractCallEventRow, NormalizedEventRowByCategory.

Components reference

All components and props.