Overview

Smart Wallets make it easy to send transactions across EVM and Solana. This section covers everything you need to know about preparing, signing, sending, and tracking transactions.

Transaction lifecycle

transaction lifecycle

When a user sends a transaction, Smart Wallets handle every step. In this section, you’ll learn how to execute steps 2–5 to enable capabilities (ex: gas sponsorship) for your users:

  1. Authenticate: User verifies their identity and accesses your app (see Authentication)
  2. Prepare: Prepare a transaction for submission
  3. Sign: User signs the transaction
  4. Send: Submit the transaction for inclusion onchain
  5. Track & display data: Track the status of the transaction and display it to the user

Everything you need for onchain applications

CapabilityDescription
Send transactionsExecute a single transaction
EIP-7702Upgrade embedded EOA users to smart wallets
Batch transactionsExecute multiple transactions atomically in a single step (ex: approve & swap)
Sponsor gasMake gas disappear and say goodbye to “insufficient gas”
Pay gas with any tokenPay gas with stablecoins or the sell-side token
Swap tokensSwap across networks, seamlessly
Retry transactionsRetry transactions stuck in mempool
Send parallel transactionsSend multiple transactions in parallel
Sponsor gas on SolanaSponsor fees & rent and say goodbye to “insufficient fees”
Track statusTrack the status of the transaction

SDK vs. APIs

Use the SDK if you’re building with React, React Native, or other JavaScript frameworks. It provides ready-to-use hooks and utilities. Use the APIs directly if you’re building in other environments (ex: python, flutter) or want lower-level control.