createTransferTransaction() provides a full preview of the transaction before it’s executed. This includes key details such as estimated fees, token transfers, and other relevant metadata—allowing you to display clear, actionable information to users before confirmation.
For example:
page.tsx
page.tsx
For a full breakdown of the preview structure and practical usage examples, see the Preview Transaction Details with Universal Accounts guide.
Next steps
Preview transaction details (how-to)
Render a transaction preview in your app’s UI.
sendTransaction() Response
Full breakdown of the
TransactionResult object.