Skip to main content
After initialization and login, use AirService for embedded wallet operations. Method names match the Reference Flutter tab.

Prerequisites

  • await airService.initialize(...) completed
  • User authenticated (see User login & sessions)
  • Optional: await airService.preloadWallet() before first wallet UI or heavy RPC use

Accounts and address

Balances

Sign messages

Contract reads (call)

Transactions (sendTransaction)

Use web3dart Transaction / Transaction.callContract types as in your SDK version:

Smart account deployment

Built-in wallet UI

  • Swap: await airService.showSwapUi();
  • On-ramp: await airService.showOnRampUi(displayCurrencyCode: 'USD');
See UI components.

Error handling

Catch AirKitException and inspect type (client, sdk, server, unknown) for logging and user messaging.

Next steps