GET /launch-token/calculate-funding
GET

/v1/launch-token/calculate-funding

Calculate required XRP funding (400 on invalid params)

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/launch-token/calculate-funding
Query parameterValueDescription
amm_xrp_amountfloat (1-100000000000)
anti_snipebool
token_supplyfloat (positive)
user_check_amountfloat (>=0)
bundle_countint (max 10)
bundle_percentfloat (max 50 per recipient)
vesting_tranchesint (0-12)
platform_retention_percentfloat (0-10)
curl 'https://api.xrpl.to/v1/launch-token/calculate-funding'

Response

200Example response1 ms · just now · 1.1 KB · 48 lines
https://api.xrpl.to/v1/launch-token/calculate-funding
{
  "success": true,
  "network": "mainnet",
  "requiredFunding": 15,
  "breakdown": {
    "issuerReserve": 1,
    "platformFee": 2,
    "antiSnipeFee": 0,
    "bundleFee": 0,
    "bundleReserves": 0,
    "holderReserve": 1,
    "ammLiquidity": 10,
    "ownerReserves": 0.6,
    "transactionFees": 0.2,
    "vestingReserves": 0,
    "vestingTrancheCount": 0,
    "devAllocationPercent": 0,
    "feeBreakdown": {
      "baseFee": 2,
      "allocationSurcharge": 0
    },
    "platformTokenRetentionPercent": 3,
    "ammMinPercent": 5
  },
  "actualUserCheckAmount": 0,
  "userCheckReduced": false,
  "antiSnipe": false,
  "antiSnipeNote": null,
  "authWindowDurationMs": null,
  "feeInfo": {
    "noDevFee": 2,
    "devFee": 5,
    "highDevFee": 10,
    "maxDevFee": 15,
    "maxDevPercent": 95,
    "formula": "2 XRP (0% dev) | 5 XRP (1-30%) | 10 XRP (31-60%) | 15 XRP (61-90%)"
  },
  "platformTokenRetention": {
    "percent": 3,
    "note": "Platform retains 3% of token supply directly"
  },
  "bundleInfo": {
    "baseFee": 6,
    "feePerRecipient": 1,
    "reservePerRecipient": 0.2,
    "maxRecipients": 10
  }
}

What it does

Calculate required XRP funding (400 on invalid params)

OpenAPI