Before you start
- You have the Mesh SDK initialized and have set up callback functions (see Use Mesh’s callback functions)
Overview
Mesh SDKs offer event tracking that not only provides you insights into user interactions within Link, but also gives you the ability to implement business logic based on those interactions.SDK Callback Functions
Capturing Mesh’s SDK events varies slightly across platforms (Web, iOS, Android, React Native, Flutter). Please refer to the Use Mesh’s callback functions guide for more platform-specific guidance for setting up callback functions.Core events
These are the events most integrations act on. Wire these up first — then consult the complete reference below if you need finer-grained tracking.Complete event reference
What’s next
For platform-specific setup instructions for consuming these events with callback functions, see Use Mesh’s callback functions.AI coding reference (llms.txt)
AI coding reference (llms.txt)
AI coding reference — a compact summary of this page’s APIs, parameters, and patterns for use by AI coding assistants (following the llms.txt standard). Human readers can safely ignore this.llms.txt — Mesh SDK eventsComplete reference of all SDK events fired via the
onEvent callback during a Link session.Core events to wire first:pageLoaded: Link launched successfully. No payload.integrationConnected: User connected account. Payload:integrationType,integrationName,accessToken(hastokenId).transferPreviewed: User viewed preview. Payload:symbol,amount,amountInFiat,toAddress,fees(institutionTransferFee, estimatedNetworkGasFee, customClientFee),previewId.transferInitiated: User clicked Proceed. Same payload structure astransferPreviewed.transferCompleted: User reached Success page. TriggersonTransferFinished. UseonTransferFinishedfor business logic; use this event for analytics.transferNoEligibleAssets: No matching assets. Payload:arrayOfTokensHeld(each hassymbol,amount,amountInFiat,ineligibilityReason).close: User dismissed Link. Payload:page. Ifpage === 'transferExecutedPage'→ full flow completed.
walletMessageSigned (payload: signedMessageHash, message, address, timeStamp, isVerified) | verifyWalletRejected | verifyDonePageOther notable events: integrationSelected | transferDeclined | connectionDeclined | transferExecutionError | linkTransferQRGenerated (manual QR deposit) | executeFundingStep | done (read-only or verify flow complete, payload has page)Platform note: onEvent setup varies by platform — see Use Mesh’s callback functions guide for platform-specific initialization.