> ## 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: fluxbeam

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

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

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

### `FLUXBEAM_PROGRAM_ID`

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

```typescript theme={null}
FLUXBEAM_PROGRAM_ID: Address<"FLUXubRmkEi2q6K3Y9kBPg9248ggaZVsoSFhtJHSrm1X">
```

### `FLUXBEAM_POOL_SIZE`

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

`SwapVersion::pack` = 1-byte version tag + the 323-byte `SwapV1` body.

```typescript theme={null}
FLUXBEAM_POOL_SIZE = 324
```

### `fluxbeam`

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

The FluxBeam venue: a constant-product AMM with spl-token-swap's layout, Token-2022-capable on both legs.

```typescript theme={null}
fluxbeam: {
    slug: string;
    programId: Address<"FLUXubRmkEi2q6K3Y9kBPg9248ggaZVsoSFhtJHSrm1X">;
    fetchPoolConfig: typeof fetchFluxBeamPoolConfig;
}
```

### `fetchFluxBeamPoolConfig`

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

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

### `FluxBeamFeeTier`

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

```typescript theme={null}
export interface FluxBeamFeeTier {
    epoch: bigint;
    max: bigint;
    bps: bigint;
}
```

### `FluxBeamPoolConfig`

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

```typescript theme={null}
export interface FluxBeamPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    swapAuthority: Address;
    tokenProgramPool: Address;
    vaultA: Address;
    vaultB: Address;
    poolMint: Address;
    mintA: Address;
    mintB: Address;
    poolFeeAccount: Address;
    tokenProgramA: Address;
    tokenProgramB: Address;
    tradeFeeNumerator: bigint;
    tradeFeeDenominator: bigint;
    ownerTradeFeeNumerator: bigint;
    ownerTradeFeeDenominator: bigint;
    feeA: {
        bps: bigint;
        max: bigint;
    };
    feeB: {
        bps: bigint;
        max: bigint;
    };
}
```


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