Skip to main content
useTxNormalizedEvents fetches normalized events for a given transaction ID. It does not use the context client; it creates its own client from the provided base URL or settings. Use it when you have a transaction hash and want loading/error state and refetch.

When to use

  • Anywhere (no AlphscanProvider required).
  • When you need normalized events for a single transaction with loading/error and refetch.

Signature

UseTxNormalizedEventsOptions

Return value

Example

To render events with the UI library, use @alphscan/sdk-react-ui (e.g. NormalizedEventsList).