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');
Error handling
CatchAirKitException and inspect type (client, sdk, server, unknown) for logging and user messaging.
Next steps
- Provider functions — raw JSON-RPC
- Account Services — product concepts (web-centric sections may still apply conceptually)
- Paymaster — gas sponsorship where supported