Skip to content

Commit

Permalink
update get-swap-quote doc
Browse files Browse the repository at this point in the history
  • Loading branch information
roushou committed Jun 13, 2024
1 parent 5b2a888 commit 4b55546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/pages/swap/get-swap-quote.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The `getSwapQuote` function is used to get a quote for a swap between two Tokens

:::code-group

```tsx [code]
```tsx [Code]
import { getSwapQuote } from '@coinbase/onchainkit/swap';

const fromToken: Token = {
Expand Down Expand Up @@ -35,7 +35,7 @@ const quote = await getSwapQuote({
});
```

```json [return value]
```json [Result]
{
"amountReference": "from",
"chainId": 8453,
Expand Down

0 comments on commit 4b55546

Please sign in to comment.