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

> 16 exports of the riptide venue integration in @eco-incorp/sauce/svm, including RIPTIDE_PROGRAM_ID, RIPTIDE_TOKEN_PROGRAM, RIPTIDE_ATA_PROGRAM, RIPTIDE_MEMO_PROGRAM, RIPTIDE_SYSVAR_INSTRUCTIONS, JITODONTFRONT.

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

<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>

### `RIPTIDE_PROGRAM_ID`

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

```typescript theme={null}
RIPTIDE_PROGRAM_ID: Address<"riptK81hDxhe5pW5jSzSM9iRA8azgEgLJ4dXkPtBS7j">
```

### `RIPTIDE_TOKEN_PROGRAM`

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

```typescript theme={null}
TOKEN_PROGRAM: Address<"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA">
```

### `RIPTIDE_ATA_PROGRAM`

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

```typescript theme={null}
ATA_PROGRAM: Address<"ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL">
```

### `RIPTIDE_MEMO_PROGRAM`

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

```typescript theme={null}
MEMO_PROGRAM: Address<"MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr">
```

### `RIPTIDE_SYSVAR_INSTRUCTIONS`

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

```typescript theme={null}
SYSVAR_INSTRUCTIONS: Address<"Sysvar1nstructions1111111111111111111111111">
```

### `JITODONTFRONT`

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

Well-known anti-frontrun sentinel account present on every real Riptide swap observed.

```typescript theme={null}
JITODONTFRONT: Address<"jitodontfront111111111111111111111111111111">
```

### `RIPTIDE_POOL_ACCOUNT_SIZE`

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

```typescript theme={null}
POOL_ACCOUNT_SIZE = 1024
```

### `RIPTIDE_OFF_MINT_A`

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

```typescript theme={null}
OFF_MINT_A = 72
```

### `RIPTIDE_OFF_MINT_B`

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

```typescript theme={null}
OFF_MINT_B = 104
```

### `RIPTIDE_AMOUNT_OFF`

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

SPL token account amount field offset (standard layout).

```typescript theme={null}
AMOUNT_OFF = 64
```

### `riptideDeriveAta`

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

`ATA(owner, mint)` - the standard SPL associated-token derivation, no extra RPC.

```typescript theme={null}
export declare function deriveAta(owner: Address, mint: Address): Promise<Address>;
```

### `riptideConfig`

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

```typescript theme={null}
export declare function riptideConfig(cfg: PoolConfig): RiptidePoolConfig;
```

### `fetchRiptidePoolConfig`

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

```typescript theme={null}
export declare function fetchPoolConfig(load: AccountLoader, pool: Address, direction?: 0 | 1): Promise<RiptidePoolConfig>;
```

### `riptideQuoteAccounts`

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

```typescript theme={null}
export declare function quoteAccounts(base: PoolConfig): VenueAccount[];
```

### `riptide`

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

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

### `RiptidePoolConfig`

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

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