> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# svm venue: mercurial

> The mercurial Solana venue: the declaration and description of each of the 4 exports of @eco-incorp/sauce/svm.

Solana venue integration `mercurial`, exported from `@eco-incorp/sauce/svm`.

Generated from the type declarations of `@eco-incorp/sauce`.

### `MERCURIAL_PROGRAM_ID`

*Variable* · `@eco-incorp/sauce/svm`

```typescript theme={null}
MERCURIAL_PROGRAM_ID: Address<"MERLuDFBMmsHnsBPZw2sDQZHvXFMwp8EdjudcU2HKky">
```

### `mercurial`

*Variable* · `@eco-incorp/sauce/svm`

The Mercurial venue: a multi-token stableswap.

```typescript theme={null}
mercurial: {
    slug: string;
    programId: Address<"MERLuDFBMmsHnsBPZw2sDQZHvXFMwp8EdjudcU2HKky">;
    tokenProgram: Address<"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA">;
    fetchPoolConfig: typeof fetchMercurialPoolConfig;
}
```

### `fetchMercurialPoolConfig`

*Function* · `@eco-incorp/sauce/svm`

Fetch + decode one Mercurial SwapV2 pool, plus its two vaults' mints. Read-only against the loader.

```typescript theme={null}
export declare function fetchMercurialPoolConfig(owned: OwnedAccountLoader, pool: Address): Promise<MercurialPoolConfig>;
```

### `MercurialPoolConfig`

*Interface* · `@eco-incorp/sauce/svm`

```typescript theme={null}
export interface MercurialPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    direction: "aToB" | "bToA";
    nonce: number;
    authority: Address;
    vaultA: Address;
    vaultB: Address;
    mintA: Address;
    mintB: Address;
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.