|
| 1 | +--- |
| 2 | +title: "@alchemy/wallet-apis/src/exports/experimental" |
| 3 | +description: Overview of wallet-apis/experimental |
| 4 | +slug: wallets/reference/wallet-apis/experimental |
| 5 | +layout: reference |
| 6 | +--- |
| 7 | + |
| 8 | +{/* This file is auto-generated by TypeDoc. Do not edit manually. */} |
| 9 | + |
| 10 | +<Warning> |
| 11 | + Experimental: This API is experimental and may change in a future release. |
| 12 | +</Warning> |
| 13 | + |
| 14 | +**Beta** — This package replaces `@account-kit/wallet-client`. See the [migration guide](https://www.alchemy.com/docs/wallets/resources/migration-v5). |
| 15 | + |
| 16 | +High-level viem-style client for Alchemy's Smart Wallet APIs. Provides EIP-7702 smart wallet support with signing, transaction preparation, and call sending. |
| 17 | + |
| 18 | +## Installation |
| 19 | + |
| 20 | +```bash |
| 21 | +npm install @alchemy/wallet-apis viem |
| 22 | +``` |
| 23 | + |
| 24 | +## Key Exports |
| 25 | + |
| 26 | +- **`createSmartWalletClient`** - Factory to create a `SmartWalletClient` (viem client extended with smart wallet actions) |
| 27 | +- **`alchemyWalletTransport`** - Alchemy transport pre-configured for the Wallet API gateway |
| 28 | +- **`smartWalletActions`** - Client decorator attaching all wallet API actions |
| 29 | + |
| 30 | +### Actions |
| 31 | + |
| 32 | +- **Signing** - `signMessage`, `signTypedData`, `prepareSign`, `signPreparedCalls`, `signSignatureRequest` |
| 33 | +- **Transactions** - `prepareCalls`, `sendCalls`, `sendPreparedCalls` |
| 34 | +- **Account management** - `getCapabilities`, `listAccounts`, `requestAccount` |
| 35 | +- **Permissions** - `grantPermissions` |
| 36 | + |
| 37 | +### Experimental (`@alchemy/wallet-apis/experimental`) |
| 38 | + |
| 39 | +- `requestQuoteV0`, `swapActions` - Pre-release swap functionality |
| 40 | + |
| 41 | +## License |
| 42 | + |
| 43 | +MIT |
| 44 | + |
| 45 | +## Type Aliases |
| 46 | + |
| 47 | +| Type Alias | Description | |
| 48 | +| :---------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------- | |
| 49 | +| [RequestQuoteV0Params](/wallets/reference/wallet-apis/experimental/type-aliases/RequestQuoteV0Params) | Parameters accepted by the experimental `requestQuoteV0` action. | |
| 50 | +| [RequestQuoteV0Result](/wallets/reference/wallet-apis/experimental/type-aliases/RequestQuoteV0Result) | Result returned by the experimental `requestQuoteV0` action. | |
| 51 | +| [SwapActions](/wallets/reference/wallet-apis/experimental/type-aliases/SwapActions) | Experimental swap actions for wallet API clients. | |
| 52 | + |
| 53 | +## Variables |
| 54 | + |
| 55 | +| Variable | Description | |
| 56 | +| :------------------------------------------------------------------------------- | :----------------------------------------------------------------------------- | |
| 57 | +| [swapActions](/wallets/reference/wallet-apis/experimental/variables/swapActions) | This is a decorator that is used to add experimental swap actions to a client. | |
| 58 | + |
| 59 | +## Functions |
| 60 | + |
| 61 | +| Function | Description | |
| 62 | +| :------------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 63 | +| [requestQuoteV0](/wallets/reference/wallet-apis/experimental/functions/requestQuoteV0) | Requests a quote for a token swap, returning either prepared calls for smart wallets or raw calls for EOA wallets depending on the returnRawCalls parameter. | |
0 commit comments