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

> 9 exports of the whalestreet venue integration in @eco-incorp/sauce/svm, including WHALESTREET_PROGRAM_ID, WHALESTREET_OFF_MINT_A, WHALESTREET_OFF_VAULT_A, WHALESTREET_OFF_MINT_B, WHALESTREET_OFF_VAULT_B, WHALESTREET_IX_PREFIX.

Solana venue integration `whalestreet` under `svm/venues/whalestreet`.

<Note>
  Generated from the type declarations shipped in `@eco-incorp/sauce` 0.99.4. Each entry shows the package authors' JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see [architecture and deployments](/programmable-transactions/sauce/architecture-and-deployments).
</Note>

### `WHALESTREET_PROGRAM_ID`

*Variable* · `sdk/dist/svm/venues/whalestreet/index.d.ts`

```typescript theme={null}
WHALESTREET_PROGRAM_ID: Address<"FW6zUqn4iKRaeopwwhwsquTY6ABWLLgjxtrC3VPnaWBf">
```

### `WHALESTREET_OFF_MINT_A`

*Variable* · `sdk/dist/svm/venues/whalestreet/index.d.ts`

```typescript theme={null}
WHALESTREET_OFF_MINT_A = 22
```

### `WHALESTREET_OFF_VAULT_A`

*Variable* · `sdk/dist/svm/venues/whalestreet/index.d.ts`

```typescript theme={null}
WHALESTREET_OFF_VAULT_A = 54
```

### `WHALESTREET_OFF_MINT_B`

*Variable* · `sdk/dist/svm/venues/whalestreet/index.d.ts`

```typescript theme={null}
WHALESTREET_OFF_MINT_B = 137
```

### `WHALESTREET_OFF_VAULT_B`

*Variable* · `sdk/dist/svm/venues/whalestreet/index.d.ts`

```typescript theme={null}
WHALESTREET_OFF_VAULT_B = 169
```

### `WHALESTREET_IX_PREFIX`

*Variable* · `sdk/dist/svm/venues/whalestreet/index.d.ts`

The REAL, validated 9-byte instruction-data prefix - opcode 0x01 plus an
8-byte tag observed identical across all 5 real captured samples (3
sizes + a repeat + the reverse direction) on the ONE pool this
integration validated against. See the module doc's "INSTRUCTION DATA".

```typescript theme={null}
WHALESTREET_IX_PREFIX: Uint8Array<ArrayBuffer>
```

### `whalestreet`

*Variable* · `sdk/dist/svm/venues/whalestreet/index.d.ts`

Partial v1-shaped helper (fetchPoolConfig/quoteAccounts only) - this venue is ladder-only (v2); see whalestreetLadder below for the full adapter surface.

```typescript theme={null}
whalestreet: {
    slug: string;
    kind: "constant-product";
    programId: Address<"FW6zUqn4iKRaeopwwhwsquTY6ABWLLgjxtrC3VPnaWBf">;
    fetchPoolConfig: typeof fetchWhalestreetPoolConfig;
    quoteAccounts: typeof quoteAccounts;
}
```

### `fetchWhalestreetPoolConfig`

*Function* · `sdk/dist/svm/venues/whalestreet/index.d.ts`

```typescript theme={null}
export declare function fetchWhalestreetPoolConfig(load: AccountLoader, pool: Address): Promise<WhalestreetPoolConfig>;
```

### `WhalestreetPoolConfig`

*Interface* · `sdk/dist/svm/venues/whalestreet/index.d.ts`

```typescript theme={null}
export interface WhalestreetPoolConfig extends PoolConfig {
    venue: typeof SLUG;
    direction: 0 | 1;
    mintA: Address;
    mintB: Address;
    vaultA: Address;
    vaultB: Address;
}
```
