Trnch on Elysium is an MCP server published by fun.trnch, hosted at trnch.fun. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 12 tools, including trnch_check, trnch_scan_wallet, trnch_top_volume, trnch_stats, trnch_quote.
Free, no key: Elysium token facts, wallet scan, top by volume, stats, quotes. Trade with a key.
729 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Free, no key, no wallet: read on-chain facts about any Elysium token before you trade it. Returns { token, chainId, screened: false, sellTest, hookFee, liquidity, creator, launchpad, template, forcedTransfer, meaning }: sellTest { class, result, blockedAt, complete, variantsRun, variantsSkipped, lossPct, method, sizes [{ amount, result, lossPct }], extraLossPctAtLargerSize, buyTaxPct, transfer { ok, backOk, taxPct }, sellLossPct, logsMatchBalances, delayed { clockAdvancedMinutes, result }, note }: a simulation at the time of the read that tries to buy, approve, transfer wallet to wallet and back, and sell from both wallets, as separate transactions, through the pools Trnch would route through (the proven launch pool, the deepest and the oldest qualifying pool; the worst result decides: decidingPool, poolTested, checkedAt), at two sizes and again with the clock advanced 5 minutes in simulation; note says in words what actually ran, complete, variantsRun and variantsSkipped say what did not and why, and a partial result reads "(partial check)"; class sold (bought, transferred and sold in a simulation, every step that ran succeeded), taxed, blocked (blockedAt says whether the approval or the sell failed in the simulation), transfer-failed (the tokens could not be moved between wallets in the simulation) or not-checked; buy tax, transfer tax and sell loss are reported apart, and token logs that do not match balances are reported. A simulation now: the token may behave differently later or towards other wallets, and an upgradeable or owner-controlled token can change; sizes 0.25 HYPE and, when the pool is deep enough, 1.5 HYPE; poolTested { id, feeBps, hook, launchpad, poolThinForSize, depthLowerBound }; decidingPool { id, roles, why }; poolsTested; poolsTruncated; checkedAt; hookFee { buyBps, sellBps } when the pool has a launch hook; liquidity { found, usdEstimate }; creator { launches }: how many tokens the same creator launched before this one; launchpad { result, hook, proof }: the launchpad of the pool tested, named only when proven ("Montra", "Boxa", "Kleos"; a verified contract name alone reads "<Name> (contract name)"), otherwise "hook not identified" or "no hook", a fact about origin, never a signal by itself; hookRisk { result }: what the hook of that pool can take, read on chain where readable: "launch fee window: up to N%, ends in M min", "hook tax: N% buy, M% sell" or "hook can tax up to N%", null when there is nothing to say; template { result, implementation, upgradeable }: "Montra template" when the token is a clone of that launchpad's token, "clone, template not identified", "upgradeable proxy" (its code can be replaced after the read) or "custom contract"; forcedTransfer { result, rolesTried, callsTried }: whether the declared owner or the creator could move or burn a buyer's tokens without approval in a simulation, trying only transferFrom without allowance and burn (other owner powers are not tried), "none found", "found: <reason>" or "not checked: <why>". A fact that could not be read says "not checked: <why>". Facts, not a verdict: Trnch runs no rug screen on this chain.
| Parameter | Type | Description |
|---|---|---|
| token * | string | Token contract address on Elysium (chainId 99901). |
{
"name": "trnch_check",
"title": "Token facts read on chain",
"description": "Free, no key, no wallet: read on-chain facts about any Elysium token before you trade it. Returns { token, chainId, screened: false, sellTest, hookFee, liquidity, creator, launchpad, template, forcedTransfer, meaning }: sellTest { class, result, blockedAt, complete, variantsRun, variantsSkipped, lossPct, method, sizes [{ amount, result, lossPct }], extraLossPctAtLargerSize, buyTaxPct, transfer { ok, backOk, taxPct }, sellLossPct, logsMatchBalances, delayed { clockAdvancedMinutes, result }, note }: a simulation at the time of the read that tries to buy, approve, transfer wallet to wallet and back, and sell from both wallets, as separate transactions, through the pools Trnch would route through (the proven launch pool, the deepest and the oldest qualifying pool; the worst result decides: decidingPool, poolTested, checkedAt), at two sizes and again with the clock advanced 5 minutes in simulation; note says in words what actually ran, complete, variantsRun and variantsSkipped say what did not and why, and a partial result reads \"(partial check)\"; class sold (bought, transferred and sold in a simulation, every step that ran succeeded), taxed, blocked (blockedAt says whether the approval or the sell failed in the simulation), transfer-failed (the tokens could not be moved between wallets in the simulation) or not-checked; buy tax, transfer tax and sell loss are reported apart, and token logs that do not match balances are reported. A simulation now: the token may behave differently later or towards other wallets, and an upgradeable or owner-controlled token can change; sizes 0.25 HYPE and, when the pool is deep enough, 1.5 HYPE; poolTested { id, feeBps, hook, launchpad, poolThinForSize, depthLowerBound }; decidingPool { id, roles, why }; poolsTested; poolsTruncated; checkedAt; hookFee { buyBps, sellBps } when the pool has a launch hook; liquidity { found, usdEstimate }; creator { launches }: how many tokens the same creator launched before this one; launchpad { result, hook, proof }: the launchpad of the pool tested, named only when proven (\"Montra\", \"Boxa\", \"Kleos\"; a verified contract name alone reads \"<Name> (contract name)\"), otherwise \"hook not identified\" or \"no hook\", a fact about origin, never a signal by itself; hookRisk { result }: what the hook of that pool can take, read on chain where readable: \"launch fee window: up to N%, ends in M min\", \"hook tax: N% buy, M% sell\" or \"hook can tax up to N%\", null when there is nothing to say; template { result, implementation, upgradeable }: \"Montra template\" when the token is a clone of that launchpad's token, \"clone, template not identified\", \"upgradeable proxy\" (its code can be replaced after the read) or \"custom contract\"; forcedTransfer { result, rolesTried, callsTried }: whether the declared owner or the creator could move or burn a buyer's tokens without approval in a simulation, trying only transferFrom without allowance and burn (other owner powers are not tried), \"none found\", \"found: <reason>\" or \"not checked: <why>\". A fact that could not be read says \"not checked: <why>\". Facts, not a verdict: Trnch runs no rug screen on this chain.",
"inputSchema": {
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token contract address on Elysium (chainId 99901)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Free, no key: list the tokens an Elysium wallet holds in one call. Returns { wallet, truncated, partial, checked, tokens }: each token has address, symbol, name, balance { raw, decimals }, valueUsd when known, majorAsset, factsStatus and facts { sellTest, hookFee, liquidity, creator, launchpad, template, forcedTransfer } as in trnch_check, read for the 8 largest holdings that are not HYPE, WHYPE or USDC (others: factsStatus over_limit, call trnch_check). At most 100 tokens, largest first. Cached 60 s per wallet. Facts, not a verdict: Trnch runs no rug screen on this chain.
| Parameter | Type | Description |
|---|---|---|
| wallet * | string | Wallet address on Elysium (chainId 99901). |
{
"name": "trnch_scan_wallet",
"title": "List a wallet's tokens with on-chain facts",
"description": "Free, no key: list the tokens an Elysium wallet holds in one call. Returns { wallet, truncated, partial, checked, tokens }: each token has address, symbol, name, balance { raw, decimals }, valueUsd when known, majorAsset, factsStatus and facts { sellTest, hookFee, liquidity, creator, launchpad, template, forcedTransfer } as in trnch_check, read for the 8 largest holdings that are not HYPE, WHYPE or USDC (others: factsStatus over_limit, call trnch_check). At most 100 tokens, largest first. Cached 60 s per wallet. Facts, not a verdict: Trnch runs no rug screen on this chain.",
"inputSchema": {
"type": "object",
"required": [
"wallet"
],
"properties": {
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Wallet address on Elysium (chainId 99901)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Free, no key: the tokens of the Elysium pools with the most trading volume over the last 24 hours, in the order GeckoTerminal lists them (the Top volume list of Trade on Trnch), with a link to trade each. HYPE, WHYPE and USDC are left out. Returns { tokens [{ rank, address, symbol, name, logoUrl, trade }] }, no volume figures. A volume ranking, not a screen, a verdict or a recommendation: Trnch runs no rug screen on this chain.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | How many tokens (default 10). |
{
"name": "trnch_top_volume",
"title": "Top Elysium tokens by 24-hour volume",
"description": "Free, no key: the tokens of the Elysium pools with the most trading volume over the last 24 hours, in the order GeckoTerminal lists them (the Top volume list of Trade on Trnch), with a link to trade each. HYPE, WHYPE and USDC are left out. Returns { tokens [{ rank, address, symbol, name, logoUrl, trade }] }, no volume figures. A volume ranking, not a screen, a verdict or a recommendation: Trnch runs no rug screen on this chain.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "How many tokens (default 10)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Free, no key: read the facts of trnch on Elysium: chainId 99901, gas HYPE, reference stable USDC, the five routers (Uniswap, KyberSwap, LI.FI, Nordstern and 0x), the bot fee grid in percent, and activity { windows [{ window (24h, 7d, 30d), volumeUsd, swaps, traders }] } counted from swaps made through Trnch on this chain (null while hidden or unavailable). No Heat and no rug counts: Trnch runs no rug screen on this chain.
No parameters.
{
"name": "trnch_stats",
"title": "Trnch on Elysium: chain, routers, fees and activity",
"description": "Free, no key: read the facts of trnch on Elysium: chainId 99901, gas HYPE, reference stable USDC, the five routers (Uniswap, KyberSwap, LI.FI, Nordstern and 0x), the bot fee grid in percent, and activity { windows [{ window (24h, 7d, 30d), volumeUsd, swaps, traders }] } counted from swaps made through Trnch on this chain (null while hidden or unavailable). No Heat and no rug counts: Trnch runs no rug screen on this chain.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Free, no key, no wallet: quote any pair on Elysium across five routers (Uniswap, KyberSwap, LI.FI, Nordstern and 0x) without building a transaction. Returns the best amount out, already net of the Trnch fee, the router and the fee rate in basis points (feeBps). Native HYPE is the zero address. A transaction (trnch_buy, trnch_sell) needs an API key. A partner's integrator fee (integratorFeeBps, or the partner's default fee when the request carries X-Trnch-Partner-Key) is added to the Trnch fee and taken by the same router fee on every router; a router whose maximum fee is below the total is left out of the quote. The integrator fee is paid to the partner through the Trnch partner program after the swap is confirmed on chain. fees in the response: { side, token, trnch { bps, amount }, integrator { bps, amount, partner } or null, minAmountOut }, amounts in the smallest unit; minAmountOut is net of both fees and of slippage.
| Parameter | Type | Description |
|---|---|---|
| fast | boolean | Return the first clean quote after about 250 ms instead of waiting for the best price. Default false. |
| tokenIn * | string | Token sold: an Elysium token address, or the zero address for HYPE. |
| amountIn * | string | Amount of tokenIn in its smallest unit (wei-style integer string). |
| slippage | number | Legacy: max slippage as a fraction (0.01 = 1%). Send slippageBps or slippage, not both. |
| tokenOut * | string | Token bought: an Elysium token address, or the zero address for HYPE. |
| decimalsIn | integer |
Step 1 of 2 to get an API key for trading, no browser. Returns { message }: the exact text your wallet must sign with personal_sign (EIP-191). It is valid for 10 minutes and moves no funds.
| Parameter | Type | Description |
|---|---|---|
| wallet * | string | The agent wallet that will trade (EOA or EIP-1271 smart wallet). |
{
"name": "trnch_register_message",
"title": "Get the message to sign",
"description": "Step 1 of 2 to get an API key for trading, no browser. Returns { message }: the exact text your wallet must sign with personal_sign (EIP-191). It is valid for 10 minutes and moves no funds.",
"inputSchema": {
"type": "object",
"required": [
"wallet"
],
"properties": {
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "The agent wallet that will trade (EOA or EIP-1271 smart wallet)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Step 2 of 2: send the message returned in step 1 and its signature; returns { key, prefix, wallet } with status 201. The key is shown once, store it. 3 keys max per wallet (409); 400 if the message expired or was altered, 401 if the signature does not match.
| Parameter | Type | Description |
|---|---|---|
| label | string | Optional name for the key, e.g. the agent name. |
| wallet * | string | Same wallet as in trnch_register_message. |
| message * | string | The message returned in step 1, unchanged. |
| signature * | string | personal_sign signature of message by wallet. |
{
"name": "trnch_register",
"title": "Create an API key",
"description": "Step 2 of 2: send the message returned in step 1 and its signature; returns { key, prefix, wallet } with status 201. The key is shown once, store it. 3 keys max per wallet (409); 400 if the message expired or was altered, 401 if the signature does not match.",
"inputSchema": {
"type": "object",
"required": [
"wallet",
"message",
"signature"
],
"properties": {
"label": {
"type": "string",
"maxLength": 24,
"description": "Optional name for the key, e.g. the agent name."
},
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Same wallet as in trnch_register_message."
},
"message": {
"type": "string",
"description": "The message returned in step 1, unchanged."
},
"signature": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]+$",
"description": "personal_sign signature of message by wallet."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Build a buy in one call: quotes five routers and returns the best route as a transaction for the key's wallet to sign. Give token, and amountUsd (paid in USDC) or amountIn with tokenIn (the zero address pays in HYPE). The Trnch fee is already deducted from the quote; the rate applied is returned as feeBps. Returns { router, feeBps, quote, approval, tx, chainId, from }: approval, when not null, has to be sent before tx, from the same wallet (chainId 99901). Nothing is sent by Trnch. Errors: 503 while the fee recipient is not configured on this chain (nothing is built), 404 no route, 429 rate or build limit (retry-after). A partner's integrator fee (integratorFeeBps, or the partner's default fee when the request carries X-Trnch-Partner-Key) is added to the Trnch fee and taken by the same router fee on every router; a router whose maximum fee is below the total is left out of the quote. The integrator fee is paid to the partner through the Trnch partner program after the swap is confirmed on chain. fees in the response: { side, token, trnch { bps, amount }, integrator { bps, amount, partner } or null, minAmountOut }, amounts in the smallest unit; minAmountOut is net of both fees and of slippage. Requires an API key (created by wallet signature), sent as Authorization: Bearer <key>.
| Parameter | Type | Description |
|---|---|---|
| token * | string | Token to buy, as an address. |
| tokenIn | string | Token paid with amountIn. Default USDC. |
| amountIn | string | Amount of tokenIn to spend, smallest unit. Use this or amountUsd. |
| amountUsd | number | Amount to spend in US dollars, paid in USDC. Use this or amountIn. |
| slippageBps | integer | Max slippage in basis points (100 = 1%). Default 100. |
Build a sell for USDC in one call: give token, and percent of the wallet balance (read on chain) or an exact amount. Quotes five routers and returns the best route as a transaction to sign. The Trnch fee is already deducted from the quote; the rate applied is returned as feeBps. Returns { router, feeBps, quote, approval, tx, chainId, from }: approval, when not null, has to be sent before tx, from the same wallet (chainId 99901). Nothing is sent by Trnch. Errors: 503 while the fee recipient is not configured on this chain (nothing is built), 404 no route, 429 rate or build limit (retry-after). A partner's integrator fee (integratorFeeBps, or the partner's default fee when the request carries X-Trnch-Partner-Key) is added to the Trnch fee and taken by the same router fee on every router; a router whose maximum fee is below the total is left out of the quote. The integrator fee is paid to the partner through the Trnch partner program after the swap is confirmed on chain. fees in the response: { side, token, trnch { bps, amount }, integrator { bps, amount, partner } or null, minAmountOut }, amounts in the smallest unit; minAmountOut is net of both fees and of slippage. Requires an API key (created by wallet signature), sent as Authorization: Bearer <key>.
| Parameter | Type | Description |
|---|---|---|
| token * | string | Token to sell, as an address. |
| amount | string | Exact amount in token units, e.g. 1234.5. Capped at the balance. Use this or percent. |
| percent | number | Share of the wallet balance to sell, 100 = all. Use this or amount. |
| slippageBps | integer | Max slippage in basis points (100 = 1%). Default 100. |
| integratorFeeBps | integer | Integrator fee in basis points, 0 to 100, for a partner identified by X-Trnch-Partner-Key or by the partner ref of the API key. Overrides the partner's default fee; the default fee applies only with X-Trnch-Partner-Key, never through the partner ref of the API key alone. Without a partner, a value a… |
Optional, after sending a swap built by trnch_buy or trnch_sell on Elysium (chainId 99901): report its hash. Returns { ok, txHash, chainId, status: "pending", meaning }, an acknowledgement only: it does not send, cancel or change the transaction. Nothing is credited on the call. A scheduled pass (every 2 minutes) reads the transaction on Elysium: sent by the key's wallet, a swap Trnch built for it, and the Trnch fee paid to the Trnch fee recipient in that same transaction. Only then is its volume counted in the swap stats of Elysium; there are no points or rewards on this chain. A hash that does not prove all of this counts nothing. Calling it twice with the same hash changes nothing. 10 calls per minute per key; 20 hashes at most awaiting settlement per wallet (429). 409 if the wallet has no Trnch account (sign in once on the site). Requires an API key (created by wallet signature), sent as Authorization: Bearer <key>.
| Parameter | Type | Description |
|---|---|---|
| txHash * | string | Hash of the Elysium transaction you sent. |
{
"name": "trnch_confirm",
"title": "Report a sent swap",
"description": "Optional, after sending a swap built by trnch_buy or trnch_sell on Elysium (chainId 99901): report its hash. Returns { ok, txHash, chainId, status: \"pending\", meaning }, an acknowledgement only: it does not send, cancel or change the transaction. Nothing is credited on the call. A scheduled pass (every 2 minutes) reads the transaction on Elysium: sent by the key's wallet, a swap Trnch built for it, and the Trnch fee paid to the Trnch fee recipient in that same transaction. Only then is its volume counted in the swap stats of Elysium; there are no points or rewards on this chain. A hash that does not prove all of this counts nothing. Calling it twice with the same hash changes nothing. 10 calls per minute per key; 20 hashes at most awaiting settlement per wallet (429). 409 if the wallet has no Trnch account (sign in once on the site). Requires an API key (created by wallet signature), sent as Authorization: Bearer <key>.",
"inputSchema": {
"type": "object",
"required": [
"txHash"
],
"properties": {
"txHash": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{64}$",
"description": "Hash of the Elysium transaction you sent."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Read the default integrator fee of a Trnch partner. Returns { partner, bps, maxBps }: partner is the partner code, bps the default fee in basis points (0 to maxBps, 100). The default fee is added to the Trnch fee on swaps attributed to the partner and paid to the partner through the partner program; integratorFeeBps on a quote, buy or sell overrides it for that request; the default applies only to requests that carry X-Trnch-Partner-Key. Authentication: header X-Trnch-Partner-Key linked to a Trnch partner, or Authorization: Bearer <API key> of the partner payout wallet; 401 otherwise. 20 calls per minute per IP (429).
No parameters.
{
"name": "trnch_partner_fee_get",
"title": "Read the partner integrator fee",
"description": "Read the default integrator fee of a Trnch partner. Returns { partner, bps, maxBps }: partner is the partner code, bps the default fee in basis points (0 to maxBps, 100). The default fee is added to the Trnch fee on swaps attributed to the partner and paid to the partner through the partner program; integratorFeeBps on a quote, buy or sell overrides it for that request; the default applies only to requests that carry X-Trnch-Partner-Key. Authentication: header X-Trnch-Partner-Key linked to a Trnch partner, or Authorization: Bearer <API key> of the partner payout wallet; 401 otherwise. 20 calls per minute per IP (429).",
"inputSchema": {
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Set the default integrator fee of a Trnch partner, an integer from 0 to 100 basis points. Returns { partner, bps, maxBps, previousBps }. Each change is recorded with its channel. 400 for a value out of range. Authentication: header X-Trnch-Partner-Key linked to a Trnch partner, or Authorization: Bearer <API key> of the partner payout wallet; 401 otherwise. 20 calls per minute per IP (429).
| Parameter | Type | Description |
|---|---|---|
| bps * | integer | New default integrator fee in basis points (100 = 1%). |
{
"name": "trnch_partner_fee_set",
"title": "Set the partner integrator fee",
"description": "Set the default integrator fee of a Trnch partner, an integer from 0 to 100 basis points. Returns { partner, bps, maxBps, previousBps }. Each change is recorded with its channel. 400 for a value out of range. Authentication: header X-Trnch-Partner-Key linked to a Trnch partner, or Authorization: Bearer <API key> of the partner payout wallet; 401 otherwise. 20 calls per minute per IP (429).",
"inputSchema": {
"type": "object",
"required": [
"bps"
],
"properties": {
"bps": {
"type": "integer",
"maximum": 100,
"minimum": 0,
"description": "New default integrator fee in basis points (100 = 1%)."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}trnch on Elysium (chainId 99901, gas HYPE, reference stable USDC). Free, no key, no wallet: trnch_check (facts read on chain about any token: sell test at two sizes, launch hook fee, liquidity, creator launch count, launchpad, token template, forced transfer check; facts, never a verdict, and Trnch runs no rug screen on this chain), trnch_scan_wallet (what a wallet holds, with the same facts for its largest holdings), trnch_top_volume (the tokens of the pools with the most 24-hour volume, from GeckoTerminal: a volume ranking, not a recommendation), trnch_stats (the chain, the routers, the fee grid and the swaps counted by trnch here) and trnch_quote (best of five routers: Uniswap, KyberSwap, LI.FI, Nordstern and 0x). Start there. Trading needs a key: get one with trnch_register_message then trnch_register (sign with your wallet), then trnch_buy / trnch_sell; send it as Authorization: Bearer <key>. Non-custodial: each swap is built for your wallet to sign; trnch never holds funds. After sending a swap, trnch_confirm (optional) reports its hash: its volume counts in the swap stats of this chain once the receipt and the trnch fee are read on chain.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| Decimals of tokenIn. Default 18: set it for USDC (6) and other non-18 tokens. |
| decimalsOut | integer | Decimals of tokenOut. Default 18: set it for USDC (6) and other non-18 tokens. |
| slippageBps | integer | Max slippage in basis points (100 = 1%). Default 100. |
| integratorFeeBps | integer | Integrator fee in basis points, 0 to 100, for a partner identified by X-Trnch-Partner-Key or by the partner ref of the API key. Overrides the partner's default fee; the default fee applies only with X-Trnch-Partner-Key, never through the partner ref of the API key alone. Without a partner, a value a… |
{
"name": "trnch_quote",
"title": "Quote a swap",
"description": "Free, no key, no wallet: quote any pair on Elysium across five routers (Uniswap, KyberSwap, LI.FI, Nordstern and 0x) without building a transaction. Returns the best amount out, already net of the Trnch fee, the router and the fee rate in basis points (feeBps). Native HYPE is the zero address. A transaction (trnch_buy, trnch_sell) needs an API key. A partner's integrator fee (integratorFeeBps, or the partner's default fee when the request carries X-Trnch-Partner-Key) is added to the Trnch fee and taken by the same router fee on every router; a router whose maximum fee is below the total is left out of the quote. The integrator fee is paid to the partner through the Trnch partner program after the swap is confirmed on chain. fees in the response: { side, token, trnch { bps, amount }, integrator { bps, amount, partner } or null, minAmountOut }, amounts in the smallest unit; minAmountOut is net of both fees and of slippage.",
"inputSchema": {
"type": "object",
"required": [
"tokenIn",
"tokenOut",
"amountIn"
],
"properties": {
"fast": {
"type": "boolean",
"description": "Return the first clean quote after about 250 ms instead of waiting for the best price. Default false."
},
"tokenIn": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token sold: an Elysium token address, or the zero address for HYPE."
},
"amountIn": {
"type": "string",
"pattern": "^[0-9]+$",
"description": "Amount of tokenIn in its smallest unit (wei-style integer string)."
},
"slippage": {
"type": "number",
"maximum": 0.5,
"minimum": 0.001,
"description": "Legacy: max slippage as a fraction (0.01 = 1%). Send slippageBps or slippage, not both."
},
"tokenOut": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token bought: an Elysium token address, or the zero address for HYPE."
},
"decimalsIn": {
"type": "integer",
"maximum": 36,
"minimum": 0,
"description": "Decimals of tokenIn. Default 18: set it for USDC (6) and other non-18 tokens."
},
"decimalsOut": {
"type": "integer",
"maximum": 36,
"minimum": 0,
"description": "Decimals of tokenOut. Default 18: set it for USDC (6) and other non-18 tokens."
},
"slippageBps": {
"type": "integer",
"maximum": 5000,
"minimum": 10,
"description": "Max slippage in basis points (100 = 1%). Default 100."
},
"integratorFeeBps": {
"type": "integer",
"maximum": 100,
"minimum": 0,
"description": "Integrator fee in basis points, 0 to 100, for a partner identified by X-Trnch-Partner-Key or by the partner ref of the API key. Overrides the partner's default fee; the default fee applies only with X-Trnch-Partner-Key, never through the partner ref of the API key alone. Without a partner, a value above 0 is refused."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| integratorFeeBps |
| integer |
| Integrator fee in basis points, 0 to 100, for a partner identified by X-Trnch-Partner-Key or by the partner ref of the API key. Overrides the partner's default fee; the default fee applies only with X-Trnch-Partner-Key, never through the partner ref of the API key alone. Without a partner, a value a… |
{
"name": "trnch_buy",
"title": "Buy a token",
"description": "Build a buy in one call: quotes five routers and returns the best route as a transaction for the key's wallet to sign. Give token, and amountUsd (paid in USDC) or amountIn with tokenIn (the zero address pays in HYPE). The Trnch fee is already deducted from the quote; the rate applied is returned as feeBps. Returns { router, feeBps, quote, approval, tx, chainId, from }: approval, when not null, has to be sent before tx, from the same wallet (chainId 99901). Nothing is sent by Trnch. Errors: 503 while the fee recipient is not configured on this chain (nothing is built), 404 no route, 429 rate or build limit (retry-after). A partner's integrator fee (integratorFeeBps, or the partner's default fee when the request carries X-Trnch-Partner-Key) is added to the Trnch fee and taken by the same router fee on every router; a router whose maximum fee is below the total is left out of the quote. The integrator fee is paid to the partner through the Trnch partner program after the swap is confirmed on chain. fees in the response: { side, token, trnch { bps, amount }, integrator { bps, amount, partner } or null, minAmountOut }, amounts in the smallest unit; minAmountOut is net of both fees and of slippage. Requires an API key (created by wallet signature), sent as Authorization: Bearer <key>.",
"inputSchema": {
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token to buy, as an address."
},
"tokenIn": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token paid with amountIn. Default USDC."
},
"amountIn": {
"type": "string",
"pattern": "^[0-9]+$",
"description": "Amount of tokenIn to spend, smallest unit. Use this or amountUsd."
},
"amountUsd": {
"type": "number",
"maximum": 50000,
"description": "Amount to spend in US dollars, paid in USDC. Use this or amountIn.",
"exclusiveMinimum": 0
},
"slippageBps": {
"type": "integer",
"maximum": 5000,
"minimum": 10,
"description": "Max slippage in basis points (100 = 1%). Default 100."
},
"integratorFeeBps": {
"type": "integer",
"maximum": 100,
"minimum": 0,
"description": "Integrator fee in basis points, 0 to 100, for a partner identified by X-Trnch-Partner-Key or by the partner ref of the API key. Overrides the partner's default fee; the default fee applies only with X-Trnch-Partner-Key, never through the partner ref of the API key alone. Without a partner, a value above 0 is refused."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}{
"name": "trnch_sell",
"title": "Sell a token",
"description": "Build a sell for USDC in one call: give token, and percent of the wallet balance (read on chain) or an exact amount. Quotes five routers and returns the best route as a transaction to sign. The Trnch fee is already deducted from the quote; the rate applied is returned as feeBps. Returns { router, feeBps, quote, approval, tx, chainId, from }: approval, when not null, has to be sent before tx, from the same wallet (chainId 99901). Nothing is sent by Trnch. Errors: 503 while the fee recipient is not configured on this chain (nothing is built), 404 no route, 429 rate or build limit (retry-after). A partner's integrator fee (integratorFeeBps, or the partner's default fee when the request carries X-Trnch-Partner-Key) is added to the Trnch fee and taken by the same router fee on every router; a router whose maximum fee is below the total is left out of the quote. The integrator fee is paid to the partner through the Trnch partner program after the swap is confirmed on chain. fees in the response: { side, token, trnch { bps, amount }, integrator { bps, amount, partner } or null, minAmountOut }, amounts in the smallest unit; minAmountOut is net of both fees and of slippage. Requires an API key (created by wallet signature), sent as Authorization: Bearer <key>.",
"inputSchema": {
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token to sell, as an address."
},
"amount": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$",
"description": "Exact amount in token units, e.g. 1234.5. Capped at the balance. Use this or percent."
},
"percent": {
"type": "number",
"maximum": 100,
"description": "Share of the wallet balance to sell, 100 = all. Use this or amount.",
"exclusiveMinimum": 0
},
"slippageBps": {
"type": "integer",
"maximum": 5000,
"minimum": 10,
"description": "Max slippage in basis points (100 = 1%). Default 100."
},
"integratorFeeBps": {
"type": "integer",
"maximum": 100,
"minimum": 0,
"description": "Integrator fee in basis points, 0 to 100, for a partner identified by X-Trnch-Partner-Key or by the partner ref of the API key. Overrides the partner's default fee; the default fee applies only with X-Trnch-Partner-Key, never through the partner ref of the API key alone. Without a partner, a value above 0 is refused."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}