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

# Protocol config

> Full Snekfun protocol configuration

Returns the full Snekfun protocol config used across Snekfun services.

**Auth:** Public

## Response

<ResponseField name="version" type="number">
  Config version.
</ResponseField>

<ResponseField name="network" type="string">
  Target Cardano network.
</ResponseField>

<ResponseField name="environment" type="string">
  Deployment environment.
</ResponseField>

<ResponseField name="addresses" type="object">
  Protocol addresses.
</ResponseField>

<ResponseField name="parameters" type="object">
  Full protocol parameter set.
</ResponseField>

<ResponseField name="documentation" type="string">
  Upstream documentation for the config.
</ResponseField>

The `addresses` object contains:

| Field      | Description                               |
| ---------- | ----------------------------------------- |
| `fee`      | Address where protocol fees are collected |
| `metadata` | Address for token metadata output         |

The `parameters` object contains:

| Field                           | Description                                       |
| ------------------------------- | ------------------------------------------------- |
| `launchStakeCredential`         | Stake credential for launch script addresses      |
| `batcherKey`                    | Public key hash of the batcher (order executor)   |
| `factoryWitness`                | Witness hash required for factory operations      |
| `adminWitness`                  | Witness hash required for admin operations        |
| `tokenEmission`                 | Total token supply minted on launch               |
| `aNum`                          | Bonding curve numerator of coefficient `a`        |
| `aDenom`                        | Bonding curve denominator of coefficient `a`      |
| `bNum`                          | Bonding curve numerator of exponent `b`           |
| `bDenom`                        | Bonding curve denominator of exponent `b`         |
| `adaThreshold`                  | ADA threshold for graduation to Splash DEX        |
| `fixedFee`                      | Fixed protocol fee per trade                      |
| `minTradeAda`                   | Minimum trade amount                              |
| `percentFee`                    | Percentage fee per trade                          |
| `networkFee`                    | Network or transaction fee estimate               |
| `poolMinAda`                    | Minimum ADA locked in pool reserve                |
| `minLaunchAdaInitialDepositFee` | Minimum fee for the initial deposit during launch |
| `launchFeeAmount`               | Standard launch fee                               |

Most numeric parameter fields are value objects with:

| Field   | Description                          |
| ------- | ------------------------------------ |
| `human` | Human-readable value with separators |
| `raw`   | Raw on-chain value as a string       |

<Note>
  `executorFee` is not returned directly. Compute it as `networkFee.raw + fixedFee.raw`.
</Note>

<ResponseExample>
  ```json 200 theme={null}
  {
    "version": 2,
    "network": "mainnet",
    "environment": "production",
    "addresses": {
      "fee": "addr1...",
      "metadata": "addr1..."
    },
    "parameters": {
      "launchStakeCredential": "b2f6abf60ccde92eae1a2f4fdf65f2eaf6208d872c6f0e597cc10b07",
      "batcherKey": "e865941988edcca559268b57b7ee939974fd42fd26c7e1acd7a50678",
      "factoryWitness": "30c1003aa7dec834e0d0a78db547ba8840e58060725dbfae352f0d64",
      "adminWitness": "8807fbe6e36b1c35ad6f36f0993e2fc67ab6f2db06041cfa3a53c04a",
      "tokenEmission": {
        "human": "1_000_000_000",
        "raw": "1000000000"
      }
    },
    "documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/README.md#parameters"
  }
  ```
</ResponseExample>
