Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Oct 31, 2024
1 parent 1dbef35 commit 3841de7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs.renegade.fi/docs/technical-reference/typescript-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,12 @@ import { getExternalMatchBundle } from "@renegade-fi/node"
**Usage**

```jsx
const config = createAuthConfig({
authServerUrl: "https://mainnet.auth-server.renegade.fi:3000",
apiKey: API_KEY,
apiSecret: API_SECRET,
});

const bundle = await getExternalMatchBundle(config, {
base: "0xcf8a4dbdc5c23a599bf045784b3740b1722c86dd", // WETH
quote: "0xdf8d259c04020562717557f2b5a3cf28e92707d1", // USDC
Expand All @@ -844,6 +850,12 @@ const bundle = await getExternalMatchBundle(config, {
});
```

:::tip

This action requires an `AuthConfig` object instead of a `Config` object. [See here for more details](#auth-config)

:::

**Parameters**

- base
Expand Down

0 comments on commit 3841de7

Please sign in to comment.