Skip to main content
GET
/
parameters
curl --request GET \
  --url https://builder.snek.fun/parameters
{
  "tokenEmission": "1000000000",
  "aNum": "122525779519",
  "aDenom": "1000000000000000000000000000",
  "bNum": "2545182",
  "bDenom": "1000000",
  "adaThreshold": "18188400000",
  "fixedFee": "500000",
  "minTradeAda": "1000000",
  "percentFee": 1,
  "deployScript": "905ab869961b094f1b8197278cfe15b45cbe49fa8f32c6b014f85a2d"
}
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.
GET /parameters returns a shortened response. For the full source data, see Protocol config and Contracts config. The deployScript field comes from contracts.launchAsset.hash.
Auth: Public

Response

tokenEmission
string
Total token emission (supply) per launch.
aNum
string
Bonding curve numerator.
aDenom
string
Bonding curve denominator for the a coefficient.
bNum
string
Bonding curve b coefficient numerator.
bDenom
string
Bonding curve b coefficient denominator.
adaThreshold
string
ADA market-cap threshold for graduation (lovelace).
fixedFee
string
Fixed fee per transaction (lovelace).
minTradeAda
string
Minimum trade size (lovelace).
percentFee
number
Percentage fee applied to trades.
deployScript
string
Script hash of the deploy validator.
curl --request GET \
  --url https://builder.snek.fun/parameters
{
  "tokenEmission": "1000000000",
  "aNum": "122525779519",
  "aDenom": "1000000000000000000000000000",
  "bNum": "2545182",
  "bDenom": "1000000",
  "adaThreshold": "18188400000",
  "fixedFee": "500000",
  "minTradeAda": "1000000",
  "percentFee": 1,
  "deployScript": "905ab869961b094f1b8197278cfe15b45cbe49fa8f32c6b014f85a2d"
}

Error response

cause
string
Machine-readable error code.
message
string
Human-readable error message.
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.
{
  "cause": "PROTOCOL_CONFIG_NETWORK_MISMATCH",
  "message": "Internal error"
}