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

> Fees, limits, and bonding-curve configuration

Returns a short version of the Snekfun protocol configuration — fees, limits, and core bonding-curve parameters used by the builder. The response is built from raw values in the protocol config plus the launch script hash from the contracts config. Poll periodically if you cache fee-sensitive calculations client-side.

<Note>
  `GET /parameters` returns a shortened response. For the full source data, see [Protocol config](/api-reference/config/protocol-config) and [Contracts config](/api-reference/config/contracts-config). The `deployScript` field comes from `contracts.launchAsset.hash`.
</Note>

**Auth:** Public

## Response

<ResponseField name="tokenEmission" type="string">
  Total token emission (supply) per launch.
</ResponseField>

<ResponseField name="aNum" type="string">
  Bonding curve numerator.
</ResponseField>

<ResponseField name="aDenom" type="string">
  Bonding curve denominator for the `a` coefficient.
</ResponseField>

<ResponseField name="bNum" type="string">
  Bonding curve `b` coefficient numerator.
</ResponseField>

<ResponseField name="bDenom" type="string">
  Bonding curve `b` coefficient denominator.
</ResponseField>

<ResponseField name="adaThreshold" type="string">
  ADA market-cap threshold for graduation (lovelace).
</ResponseField>

<ResponseField name="fixedFee" type="string">
  Fixed fee per transaction (lovelace).
</ResponseField>

<ResponseField name="minTradeAda" type="string">
  Minimum trade size (lovelace).
</ResponseField>

<ResponseField name="percentFee" type="number">
  Percentage fee applied to trades.
</ResponseField>

<ResponseField name="deployScript" type="string">
  Script hash of the deploy validator.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://builder.snek.fun/parameters
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "tokenEmission": "1000000000",
    "aNum": "122525779519",
    "aDenom": "1000000000000000000000000000",
    "bNum": "2545182",
    "bDenom": "1000000",
    "adaThreshold": "18188400000",
    "fixedFee": "500000",
    "minTradeAda": "1000000",
    "percentFee": 1,
    "deployScript": "905ab869961b094f1b8197278cfe15b45cbe49fa8f32c6b014f85a2d"
  }
  ```
</ResponseExample>

## Error response

<ResponseField name="cause" type="string">
  Machine-readable error code.
</ResponseField>

<ResponseField name="message" type="string">
  Human-readable error message.
</ResponseField>

Possible errors:

* `500 PROTOCOL_CONFIG_NETWORK_MISMATCH` — the fetched protocol config does not match the builder network.
* `500 CONTRACTS_CONFIG_NETWORK_MISMATCH` — the fetched contracts config does not match the builder network.
* `500 SERVER_ERROR` — config fetch, parse, or other internal loading failed.

<ResponseExample>
  ```json 500 theme={null}
  {
    "cause": "PROTOCOL_CONFIG_NETWORK_MISMATCH",
    "message": "Internal error"
  }
  ```
</ResponseExample>
