Catalog/Status & motion/Transaction Modal

Transaction Modal

Pre-flight transaction simulation modal with net balance changes, network fee breakdown, and approval states.

Loading component preview...

Props

[10 props]
PropTypeDefaultDescription
isOpenbooleanfalseControls visibility of the modal dialog.
onClose() => voidundefinedCallback triggered when user cancels or dismisses.
onConfirm() => voidundefinedCallback triggered upon approving the transaction.
dappNamestring"Jupiter Aggregator"Display name of requesting dApp.
dappIconstring"https://jup.ag/svg/jupiter-logo.svg"URL of requesting dApp logo.
diffsBalanceDiffItem[]DEFAULT_DIFFSArray of simulated balance changes.
estimatedFeeSolnumber0.00005Estimated transaction fee in SOL.
inlinebooleanfalseWhen true, renders inline without fixed overlay.
isSimulatingbooleanfalseLoading indicator during transaction simulation.
classNamestringundefinedOptional Tailwind CSS class name overrides.