Skip to main content

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)

Example


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


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

NormalizedEventsList uses this internally when useCategoryComponents is true.