File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/pages/transactions/swap-tokens Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ You'll need the following env variables:
13
13
14
14
<CodeBlocks >
15
15
16
- ``` ts twoslash title="requestQuote.ts"
16
+ ``` ts title="requestQuote.ts"
17
17
import { client , config } from " ./client.ts" ;
18
18
19
19
interface SwapQuoteResponse {
@@ -114,7 +114,7 @@ console.log(
114
114
);
115
115
```
116
116
117
- ``` ts twoslash title="client.ts"
117
+ ``` ts title="client.ts"
118
118
import " dotenv/config" ;
119
119
import { type Address , type Hex , toHex } from " viem" ;
120
120
import { LocalAccountSigner } from " @aa-sdk/core" ;
@@ -151,7 +151,7 @@ export const client = createSmartWalletClient({
151
151
152
152
This example swaps 0.01 USDC for DAI on Arbitrum, and includes additional error handling.
153
153
154
- ``` ts twoslash
154
+ ``` ts
155
155
/**
156
156
* Note: This uses direct fetch calls as the swap feature is not yet
157
157
* available in @account-kit/wallet-client. Once available, you'll be
You can’t perform that action at this time.
0 commit comments