blackhole-mcp-server

v1.1.7
@blackhole-dex/blackhole-mcp-server Checked 1 day ago Published 5 months ago

MCP Server for Blackhole DEX Skills

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

swap_steps

Returns the step-by-step transaction payloads to perform a token swap on the Blackhole DEX. On the first call (slippageConfirmed omitted or false) the tool fetches a quote, then returns a slippage confirmation prompt showing the expected output and minimum received at the default 1% slippage. Present this to the user and ask if they want to change it. Re-call with slippageConfirmed=true once confirmed. Steps must be executed sequentially — if an approval step is present it must confirm on-chain before the swap is sent.

ParameterTypeDescription
tokenIn *stringThe address of the input token (e.g., AVAX, USDC).
tokenOut *stringThe address of the output token.
amountInstringHuman-readable input amount (e.g., '10'). Ignored when amountInRaw is provided.
amountInRawstringRaw input amount (wei). Preferred for exact full-balance swaps; takes precedence over amountIn.
amountOutMinstringOverride: explicit human-readable min output amount. When omitted, computed from quote × (1 - slippage%).
amountOutMinRawstringOverride: explicit raw min output amount (wei). Takes precedence over amountOutMin.
distributionPercentnumberOptional split granularity (used when useSplitRoutes=true; default 5).
feeOnTransferbooleanSet to true to use fee-on-transfer (FOT) router functions. Auto-detected for known FOT tokens (e.g. fBOMB). Override with false to force standard path.
maxSplitsnumberOptional max split count (used when useSplitRoutes=true; default 4).
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
minSplitsnumberOptional min split count (used when useSplitRoutes=true; default 0).
poolAddressstringExplicit pair/pool address if already known.
slippageConfirmedbooleanSet to true after the user confirms slippage. Defaults to false, returning a confirmation prompt.
slippagePercentnumberSlippage tolerance % applied to the quoted output to compute amountOutMin (default 1%).
tokenInDecimalsnumberDecimals of the input token (defaults to 18).
tokenOutDecimalsnumberDecimals of the output token (defaults to 18).
useSplitRoutesbooleanEnable split-route search; swap_steps will use zapToSingleToken when split route wins.
userAddressstringOptional. The wallet address of the user performing the swap. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY…

quote

Returns the best output quote and route for a token swap on the Blackhole DEX.

ParameterTypeDescription
amountIn *stringThe human-readable amount of the input token (e.g., '10').
tokenIn *stringThe address of the input token.
tokenOut *stringThe address of the output token.
distributionPercentnumberOptional split percentage granularity (e.g., 5). Used only when useSplitRoutes=true; defaults to 5.
maxSplitsnumberOptional maximum number of split routes in the combination. Used only when useSplitRoutes=true; defaults to 4.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
minSplitsnumberOptional minimum number of split routes in the combination. Used only when useSplitRoutes=true; defaults to 0.
tokenInDecimalsnumberDecimals of the input token (defaults to 18).
tokenOutDecimalsnumberDecimals of the output token (defaults to 18).
useSplitRoutesbooleanEnable split-route combination search (5% distribution increments, up to 4 splits). Defaults to false.
userAddressstringOptional user address used for route context. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

pool_yield

Pool liquidity and yield metrics. **Two different roles** (never add their APRs as one 'total'): 1) **LP** — **`apr`** = annualized **gauge emissions** (e.g. BLACK) to **staked liquidity** on that gauge, as a **snapshot**: same epoch emissions spread over the **staked liquidity base** already baked into the formula (V2: staked fraction of pool TVL; CL: active-liquidity proxy). When **adding LP** (especially if staked on the gauge), if your new size is a **large share** of that existing base, headline **apr** **falls** afterward — more wallets split the same emissions (dilution). Use **`ap…

ParameterTypeDescription
aprobjectLP emissions APR range filter (uses **current** staked-liquidity base in the metric; large new LP dilutes headline apr).
feesobjectFees (USD) range filter.
hasGaugebooleanWhen true, only return pools with a gauge attached.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringOptional specific pool address for single-pool metrics.
poolTypestringPool category filter mirroring the UI tabs (default 'all').
searchstringCase-insensitive substring match against pool symbol, name, or pairAddress.
sortBystringRank pools by one field. **apr** — LP gauge emissions vs **current staked-liquidity base** in the formula; headline **apr** **falls** if you add LP that is a **large fraction** of that base (dilutio…
sortOrderstringSort direction (default desc).
topNnumberTop N pools to return when poolAddress is not provided (default 10).
tvlobjectTVL (USD) range filter.
userAddressstringOptional user address context for pair API pagination. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.
vaprobjectFilter by **voter-side** vAPR (uses **existing** votes on each gauge as denominator); irrelevant for pure LP filters.
votesobjectVotes range filter.

get_deposit_amounts

Given a pool and one token amount, returns how much of the other token is needed to add liquidity. For basic (v2) pools: uses current reserve ratio (amountOther = amountIn × reserveOther / reserveIn). For CL pools: uses tick-range math (Uniswap v3 style) — given one token amount and the tick range, derives the liquidity L then computes the paired amount. Pass tickLower/tickUpper of the intended range. Call this before add_liquidity_steps or add_liquidity_cl_steps so you have both token amounts ready.

ParameterTypeDescription
inputAmount *stringHuman-readable amount of inputToken to deposit.
inputToken *stringAddress of the token whose amount you know.
poolAddress *stringPool contract address.
poolType *stringbasic = v2 AMM pool, cl = concentrated liquidity pool.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
tickLowernumberLower tick of the CL range (required for poolType='cl').
tickUppernumberUpper tick of the CL range (required for poolType='cl').

add_liquidity_steps

Returns the step-by-step transaction payloads to add liquidity on the Blackhole DEX. On the first call (slippageConfirmed omitted or false) returns a slippage confirmation prompt at the default 1% slippage. Present this to the user and ask if they want to change it. Re-call with slippageConfirmed=true once confirmed. IMPORTANT: Adding liquidity only mints LP tokens — it does NOT stake them. LP tokens must be staked in the gauge via stake_liquidity_steps to earn BLACK emissions/APR. Unstaked LP only earns swap fees. Steps must be executed sequentially — approval steps (if any) must confirm…

ParameterTypeDescription
amountADesired *stringDesired human-readable amount of Token A.
amountBDesired *stringDesired human-readable amount of Token B.
stable *booleanTrue if the pair is a stable pair.
tokenA *stringAddress of the first token.
tokenB *stringAddress of the second token.
amountAMinstringOverride: minimum human-readable amount of Token A. When omitted, computed from amountADesired × (1 - slippage%).
amountBMinstringOverride: minimum human-readable amount of Token B. When omitted, computed from amountBDesired × (1 - slippage%).
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
slippageConfirmedbooleanSet to true after user confirms slippage. Defaults to false, returning a confirmation prompt.
slippagePercentnumberSlippage % for amountAMin/amountBMin (default 1%).
tokenADecimalsnumberDecimals of Token A (defaults to 18).
tokenBDecimalsnumberDecimals of Token B (defaults to 18).
userAddressstringOptional. Wallet address of the user. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

add_liquidity_cl_steps

Returns CL liquidity transaction steps with two modes: mint or mintAndStake. On the first call (slippageConfirmed omitted or false) returns a slippage confirmation prompt at the default 1% slippage. Present this to the user and ask if they want to change it. Re-call with slippageConfirmed=true once confirmed. Steps must be executed sequentially — approval steps (if any) must confirm before the mint transaction.

ParameterTypeDescription
amount0Desired *stringDesired human-readable amount for token0.
amount1Desired *stringDesired human-readable amount for token1.
mode *stringChoose exactly one mode: mint or mintAndStake.
tickLower *numberLower tick for the CL position.
tickUpper *numberUpper tick for the CL position.
token0 *stringAddress of token0. Use '0xavax' for native AVAX in mode='mint'.
token1 *stringAddress of token1. Use '0xavax' for native AVAX in mode='mint'.
amount0MinstringOverride: minimum human-readable amount for token0. When omitted, computed from amount0Desired × (1 - slippage%).
amount1MinstringOverride: minimum human-readable amount for token1. When omitted, computed from amount1Desired × (1 - slippage%).
deadlinenumberOptional unix deadline. Defaults to now + 20 minutes.
deployerstringOptional. Auto-resolved from poolAddress via pool.tickSpacing() when omitted. Do NOT guess.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringCL pool address. Required when deployer is omitted, so the server can auto-resolve deployer by tickSpacing.
recipientstringOptional. Recipient wallet for minted position. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var.
slippageConfirmedbooleanSet to true after user confirms slippage. Defaults to false, returning a confirmation prompt.
slippagePercentnumberSlippage % for amount0Min/amount1Min (default 1%).
token0DecimalsnumberToken0 decimals (defaults to 18).
token1DecimalsnumberToken1 decimals (defaults to 18).

remove_liquidity_steps

Returns remove liquidity transaction steps for v2 pairs or CL positions. On the first call (slippageConfirmed omitted or false) the tool returns a slippage confirmation request — present the slippage details to the user and ask if they want to change it before proceeding. Re-call with slippageConfirmed=true once the user confirms. Steps must be executed sequentially — if an LP token approval step is present it must confirm before the remove transaction.

ParameterTypeDescription
mode *stringChoose remove mode: v2 pair or concentrated liquidity position.
amount0MinstringMin token0 amount. Overridden by expectedAmount0+slippagePercent when both present.
amount1MinstringMin token1 amount. Overridden by expectedAmount1+slippagePercent when both present.
amountAMinstringMin token A amount. Overridden by expectedAmountA+slippagePercent when both present.
amountBMinstringMin token B amount. Overridden by expectedAmountB+slippagePercent when both present.
burnbooleanBurn position NFT after collect (mode='cl', default false).
deadlinenumberOptional unix deadline. Defaults to now + 20 minutes.
deployerstringPool deployer address (mode='cl'). Pass when already known (from get_user_positions) to skip an extra lookup. Takes precedence over poolAddress.
expectedAmount0stringExpected token0 output from CL removal. Used with slippagePercent to auto-compute amount0Min.
expectedAmount1stringExpected token1 output from CL removal. Used with slippagePercent to auto-compute amount1Min.
expectedAmountAstringExpected token A output from LP removal. Used with slippagePercent to auto-compute amountAMin.
expectedAmountBstringExpected token B output from LP removal. Used with slippagePercent to auto-compute amountBMin.
liquiditystringHuman-readable LP amount to remove (mode='v2'). Ignored when liquidityRaw is provided.
liquidityDecimalsnumberLiquidity decimals for parsing (mode='cl', default 18).
liquidityRawstringRaw LP amount (wei) to remove (mode='v2'). Preferred for exact full-balance removes; takes precedence over liquidity.
liquidityToRemovestringHuman-readable CL liquidity amount to remove (required for mode='cl').
lpTokenAddressstringLP token/pair address (required for mode='v2').
lpTokenDecimalsnumberLP token decimals (mode='v2', default 18).
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringPool address (mode='cl'). Used to resolve deployer when deployer is not known. Available from get_user_positions.
slippageConfirmedbooleanSet to true after the user has confirmed the slippage. On false (default) the tool returns a confirmation prompt instead of steps.
slippagePercentnumberSlippage tolerance % applied to minimum received amounts (default 1%).
stablebooleanStable pair flag (required for mode='v2').
token0DecimalsnumberToken0 decimals (mode='cl', default 18).
token1DecimalsnumberToken1 decimals (mode='cl', default 18).
tokenAstringToken A address (required for mode='v2').
tokenADecimalsnumberToken A decimals (mode='v2', default 18).
tokenBstringToken B address (required for mode='v2').
tokenBDecimalsnumberToken B decimals (mode='v2', default 18).
tokenIdnumberPosition NFT tokenId (required for mode='cl').
userAddressstringOptional. Recipient address for withdrawn tokens. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_AD…

withdraw_liquidity_steps

Returns combined unstake + remove-liquidity transaction steps. Handles all cases automatically: V2 (withdrawAll from gauge → removeLiquidity via router), CL legacy (exitFarming on legacy farming center → decreaseLiquidity + collect on legacy NFPM), CL new deployer (exitFarming on new farming center → decreaseLiquidity + collect on new NFPM). Pass deployer from get_user_positions to route to the correct contracts. Use skipUnstake=true if the position is already unstaked or not in farming. On the first call (slippageConfirmed omitted or false) returns a slippage confirmation prompt — pre…

ParameterTypeDescription
mode *string
amount0Minstring
amount1Minstring
amountAMinstring
amountBMinstring
burnbooleanBurn CL position NFT after removal (default false).
deadlinenumber
deployerstringPool deployer address (mode='cl'). Pass when known (from get_user_positions) to ensure the correct NFPM and pool API are used for legacy vs current positions.
expectedAmount0stringExpected token0 output used with slippagePercent to auto-compute amount0Min.
expectedAmount1stringExpected token1 output used with slippagePercent to auto-compute amount1Min.
expectedAmountAstringExpected token A output used with slippagePercent to auto-compute amountAMin.
expectedAmountBstringExpected token B output used with slippagePercent to auto-compute amountBMin.
gaugeAddressstringExplicit gauge address (optional).
gaugeManagerAddressstringOptional gaugeManager override for gauge resolution.
liquiditystringv2 human-readable LP amount to remove. Ignored when liquidityRaw is provided.
liquidityDecimalsnumber
liquidityRawstringv2 raw LP amount (wei) to remove. Preferred for exact full-balance removes.
liquidityToRemovestringCL human-readable liquidity to remove.
lpTokenAddressstringv2 LP token address.
lpTokenDecimalsnumber
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringUsed to resolve gauge for unstake when gaugeAddress is omitted.
skipUnstakebooleanSkip the unstake step (default false).
slippageConfirmedbooleanSet to true after the user confirms slippage. Defaults to false, returning a confirmation prompt.
slippagePercentnumberSlippage % for minimum received amounts (default 0.5%).
stablebooleanv2 stable flag.
token0Decimalsnumber
token1Decimalsnumber
tokenAstringv2 token A address.
tokenADecimalsnumber
tokenBstringv2 token B address.
tokenBDecimalsnumber
tokenIdnumberCL position tokenId (also used to unstake CL).
userAddressstringOptional. Wallet address. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

zap_add_liquidity_steps

Returns zapAndAddLiquidity transaction steps for basic pools. If swaps are omitted, MCP auto-computes split + routes. Output from zap_split_plan can be forwarded as-is: set `swaps` to plan.swaps (each entry's amountInRaw/amountOutMinRaw fields are accepted directly), and optionally pass amountAMinRaw/amountBMinRaw from the plan. IMPORTANT: This only mints LP tokens — it does NOT stake them. LP tokens must be staked via stake_liquidity_steps to earn BLACK emissions/APR. Unstaked LP only earns swap fees. Steps must be executed sequentially — input token approval steps (if any) must confirm b…

ParameterTypeDescription
inputAmounts *array
inputTokens *array
stable *boolean
tokenA *string
tokenB *string
amountAMinstringHuman-readable min. Use amountAMinRaw instead when forwarding split-plan output.
amountAMinRawstringRaw min (BigInt string). Takes precedence over amountAMin when both are given.
amountBMinstringHuman-readable min. Use amountBMinRaw instead when forwarding split-plan output.
amountBMinRawstringRaw min (BigInt string). Takes precedence over amountBMin when both are given.
deadlinenumber
inputTokenDecimalsarray
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringPool address required for auto split when swaps are omitted.
slippageConfirmedbooleanSet to true after user confirms slippage. Defaults to false, returning a confirmation prompt.
slippagePercentnumberSlippage % for swap output and pool deposit minimums (default 1%).
swapsarrayPre-built swap routes. Each entry accepts either raw (amountInRaw, amountOutMinRaw) OR human (amountIn+amountInDecimals, amountOutMin+amountOutMinDecimals). Raw wins when both are present. This matche…
tostringOptional. Recipient wallet for LP tokens. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var.
tokenADecimalsnumber
tokenBDecimalsnumber
useNativeboolean

zap_remove_liquidity_steps

Returns router zapAndRemoveLiquidity (v2) or zapAndRemoveCL (CL) transaction steps that remove liquidity and swap both sides into a single outputToken. On the first call (slippageConfirmed omitted or false) the tool returns a two-slippage confirmation request: removeSlippagePercent (LP removal amountAMin/amountBMin) and slippagePercent (swap minAmountOut). Present both values to the user and ask if they want to change either before re-calling with slippageConfirmed=true. Steps must be executed sequentially — if an LP token approval step is present it must confirm before the zap transaction.

ParameterTypeDescription
mode *string
outputToken *stringTarget token to zap both sides into.
amount0Minstring
amount0MinDecimalsnumber
amount1Minstring
amount1MinDecimalsnumber
deadlinenumberOptional unix deadline.
deployerstringPool deployer address (mode='cl'). Pass when already known (from get_user_positions) to skip an extra lookup. Takes precedence over poolAddress.
expectedAmountAstringHuman-readable expected tokenA/token0 output from LP removal (required for auto-plan).
expectedAmountARawstringRaw expected tokenA/token0 output (takes precedence over expectedAmountA).
expectedAmountBstringHuman-readable expected tokenB/token1 output from LP removal (required for auto-plan).
expectedAmountBRawstringRaw expected tokenB/token1 output (takes precedence over expectedAmountB).
liquiditystringv2 human-readable LP amount. Ignored when liquidityRaw is provided.
liquidityRawstringRaw liquidity amount. For mode='v2': LP amount in wei (preferred for exact full-balance removes). For mode='cl': raw uint128 liquidity to decrease.
lpTokenAddressstringv2 LP token (for approval).
lpTokenDecimalsnumber
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
minAmountOutstringHuman-readable min outputToken amount (default 0).
minAmountOutRawstringRaw min (BigInt string). Takes precedence over minAmountOut.
outputTokenDecimalsnumberDecimals for outputToken minAmountOut parsing (default 18).
poolAddressstringPool address (mode='cl'). Used to resolve deployer when deployer is not known. Available from get_user_positions.
removeSlippagePercentnumberRemove slippage %: applied to amountAMin/amountBMin from LP token removal (default 1%).
slippageConfirmedbooleanSet to true after the user confirms both slippage values. Defaults to false, which returns a confirmation prompt.
slippagePercentnumberSwap slippage %: applied to each swap's amountOutMin and overall minAmountOut (default 1%).
stablebooleanv2 stable flag.
swapsarrayPre-built Zap.Swap[] routes. Each entry accepts either raw (amountInRaw, amountOutMinRaw) OR human (amountIn+amountInDecimals, amountOutMin+amountOutMinDecimals). Raw wins when both present. If omitte…
tostringRecipient of outputToken (defaults to userAddress).
token0stringCL token0 (used for auto-plan).
token0Decimalsnumber
token1stringCL token1 (used for auto-plan).
token1Decimalsnumber
tokenAstringv2 token A.
tokenADecimalsnumber
tokenBstringv2 token B.
tokenBDecimalsnumber
tokenIdnumberCL position tokenId.
unwrapWETHbooleanUnwrap WAVAX to native AVAX for outputToken (default false).
userAddressstringOptional. Wallet address. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

zap_mint_cl_steps

Returns zapAndMintCL or zapMintAndStakeCL transaction steps for new CL positions. If swaps are omitted, MCP auto-computes split + routes. Output from zap_split_plan can be forwarded as-is: set `swaps` to plan.swaps (amountInRaw/amountOutMinRaw accepted directly), and optionally pass amount0MinRaw/amount1MinRaw from the plan. IMPORTANT: mode='mint' only creates the position — it does NOT enter farming. Use mode='mintAndStake' to mint and enter farming in one call, or follow with stake_liquidity_steps. Unstaked CL positions earn swap fees only. Steps must be executed sequentially — input tok…

ParameterTypeDescription
inputAmounts *array
inputTokens *array
tickLower *number
tickUpper *number
token0 *string
token1 *string
amount0MinstringHuman-readable min. Use amount0MinRaw instead when forwarding split-plan output.
amount0MinRawstringRaw min (BigInt string). Takes precedence over amount0Min.
amount1MinstringHuman-readable min. Use amount1MinRaw instead when forwarding split-plan output.
amount1MinRawstringRaw min (BigInt string). Takes precedence over amount1Min.
deadlinenumber
deployerstringOptional. Auto-resolved from poolAddress via pool.tickSpacing() when omitted. Do NOT guess.
inputTokenDecimalsarray
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
modestringmint => zapAndMintCL, mintAndStake => zapMintAndStakeCL.
poolAddressstringCL pool address. Required for auto split and to auto-resolve deployer when omitted.
recipientstringOptional. Recipient wallet for minted CL position. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var.
slippageConfirmedbooleanSet to true after user confirms slippage. Defaults to false, returning a confirmation prompt.
slippagePercentnumberSlippage % for swap output and pool deposit minimums (default 1%).
swapsarrayPre-built swap routes. Each entry accepts either raw (amountInRaw, amountOutMinRaw) OR human (amountIn+amountInDecimals, amountOutMin+amountOutMinDecimals). Raw wins when both present. Matches zap_spl…
token0Decimalsnumber
token1Decimalsnumber
useNativeboolean

zap_increase_liquidity_steps

Returns zapAndIncreaseLiquidity steps for existing CL positions only. If swaps are omitted, MCP auto-computes split + routes. Output from zap_split_plan can be forwarded as-is: set `swaps` to plan.swaps (amountInRaw/amountOutMinRaw accepted directly), and optionally pass amount0MinRaw/amount1MinRaw from the plan. Steps must be executed sequentially — input token approval steps (if any) must confirm before the zap increase transaction.

ParameterTypeDescription
inputAmounts *array
inputTokens *array
token0 *string
token1 *string
tokenId *number
amount0MinstringHuman-readable min. Use amount0MinRaw when forwarding split-plan output.
amount0MinRawstringRaw min (BigInt string). Takes precedence over amount0Min.
amount1MinstringHuman-readable min. Use amount1MinRaw when forwarding split-plan output.
amount1MinRawstringRaw min (BigInt string). Takes precedence over amount1Min.
deadlinenumber
deployerstringPool deployer address. Pass when already known (from get_user_positions) to skip an extra lookup. Takes precedence over poolAddress.
inputTokenDecimalsarray
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringCL pool address required for auto split when swaps are omitted.
routeRecipientstringOptional address used as route receiver context for auto route search.
slippageConfirmedbooleanSet to true after user confirms slippage. Defaults to false, returning a confirmation prompt.
slippagePercentnumberSlippage % for swap output and pool deposit minimums (default 1%).
swapsarrayPre-built swap routes. Each entry accepts either raw (amountInRaw, amountOutMinRaw) OR human (amountIn+amountInDecimals, amountOutMin+amountOutMinDecimals). Raw wins when both present. Matches zap_spl…
tickLowernumberRequired for auto split when swaps are omitted.
tickUppernumberRequired for auto split when swaps are omitted.
token0Decimalsnumber
token1Decimalsnumber
useNativeboolean
userAddressstringOptional signer address; when provided, already-sufficient approvals are skipped. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

zap_split_plan

Returns a reusable split/route plan for zap liquidity operations.

ParameterTypeDescription
inputAmount *string
inputToken *string
poolAddress *string
poolType *stringPool type to apply split-ratio logic.
routeRecipient *string
tokenA *string
tokenB *string
inputTokenDecimalsnumber
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
slippagePercentnumber
tickLowernumber
tickUppernumber

stake_liquidity_steps

Returns stake transaction steps for v2 LP tokens (by amount) or CL position NFT (by tokenId). Resolves gauge automatically from poolAddress if gaugeAddress is omitted. Steps must be executed sequentially — LP token approval (if needed) must confirm before the stake transaction.

ParameterTypeDescription
mode *stringChoose stake mode.
amountstringHuman-readable LP amount (required for mode='v2').
amountDecimalsnumberLP token decimals (mode='v2', default 18).
deployerstringPool deployer address (mode='cl'). Pass when known (from get_user_positions) to use the correct pool API for gauge lookup. Takes precedence over poolAddress for deployer resolution.
gaugeAddressstringOptional explicit gauge address.
gaugeManagerAddressstringOptional override; when given, resolves gauge via gaugeManager.gauges(pool).
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringPool/pair address (used to resolve gauge if gaugeAddress omitted; also used to resolve deployer if deployer is not provided).
tokenIdnumberPosition NFT tokenId (required for mode='cl').
userAddressstringOptional. User wallet address (context for v2 pair lookup). Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY,…

unstake_liquidity_steps

Returns unstake transaction steps for v2 (withdrawAll) or CL (withdraw tokenId). Resolves gauge automatically from poolAddress if gaugeAddress is omitted.

ParameterTypeDescription
mode *string
deployerstringPool deployer address (mode='cl'). Pass when known (from get_user_positions) to use the correct pool API for gauge lookup. Takes precedence over poolAddress for deployer resolution.
gaugeAddressstring
gaugeManagerAddressstring
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringPool address (used to resolve gauge; also resolves deployer if deployer not provided).
tokenIdnumberRequired for mode='cl'.
userAddressstringOptional. User wallet address. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

claim_fees_steps

Returns claim-fees transaction steps for v2 pairs or CL positions.

ParameterTypeDescription
mode *stringChoose claim mode: v2 pair or concentrated liquidity position.
collectTostringOptional CL fee recipient override (mode='cl'). Defaults to userAddress.
deployerstringPool deployer address (mode='cl'). Pass when known (from get_user_positions) to target the correct NFPM.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
pairAddressstringV2 pair address (required for mode='v2').
poolAddressstringPool address (mode='cl'). Used to resolve deployer when deployer is not provided.
tokenIdnumberCL position NFT tokenId (required for mode='cl').
userAddressstringOptional. Recipient address for claimed tokens. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDR…

claim_emissions_steps

Returns emission-claim transaction steps for staked v2 or CL positions.

ParameterTypeDescription
mode *stringChoose emissions claim mode: staked v2 pair or staked CL position.
poolAddress *stringPool/pair address used to resolve gauge and gauge manager.
deployerstringPool deployer address (mode='cl'). Pass from get_user_positions to route to the correct farming center (legacy vs current).
isBonusRewardbooleanCL bonus-reward flag for Farming Center claim path (mode='cl', default false).
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
tokenIdnumberCL position NFT tokenId (required for mode='cl').
userAddressstringOptional. User wallet address used for pool context resolution. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_K…

claim_rebase_steps

Returns transaction steps to claim rebase (anti-dilution) rewards for one or more veNFT locks from the RewardsDistributor. Rebase rewards accumulate each epoch proportional to voting power and compensate veBLACK holders for token inflation. Use get_user_locks to find tokenIds with non-zero rebaseClaimable before calling this.

ParameterTypeDescription
tokenIds *arrayOne or more veNFT tokenIds to claim rebase for. Single tokenId calls claim(); multiple calls claim_many().
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. User wallet address. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

claim_voting_rewards_steps

Returns claimBribes transaction steps for veNFT voting rewards.

ParameterTypeDescription
bribeAddresses *arrayBribe contract addresses to claim from.
bribeRewardTokens *arrayReward token addresses per bribe (same order as bribeAddresses).
tokenId *numberveNFT lock tokenId used to claim voting rewards.
gaugeManagerAddressstringOptional gauge manager override. Defaults to pair API gaugeManager().
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. User wallet address context. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

claim_voting_rewards_payload

Fetches voting rewards from veNFTAPI and returns a ready claimBribes payload for agents to execute.

ParameterTypeDescription
tokenId *numberveNFT lock tokenId to build claim payload for.
gaugeBatchSizenumberOptional gauge page size for veNFTAPI.getAllPairRewards (default 300).
gaugeManagerAddressstringOptional gauge manager override. Defaults to pair API gaugeManager().
gaugeOffsetnumberOptional gauge offset for veNFTAPI.getAllPairRewards (default 0).
includeZeroAmountsbooleanInclude zero-amount rewards while deriving payload (default false).
lockBatchSizenumberOptional lock page size for veNFTAPI.getAllPairRewards (default 50).
lockOffsetnumberOptional lock offset for veNFTAPI.getAllPairRewards (default 0).
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. User wallet address used to query veNFTAPI rewards. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY…

create_lock_steps

Returns transaction steps to create a new veNFT lock. Two modes: (1) Timed lock — set lockDurationInSeconds up to 4 years; (2) Permanent SMveNFT lock — set isSMNFT=true; the lock never expires regardless of lockDurationInSeconds.

ParameterTypeDescription
amount *stringHuman-readable token amount to lock.
lockDurationInSeconds *numberLock duration in seconds (max 4 years). Required by the contract but has no effect on expiry when isSMNFT=true.
amountDecimalsnumberToken decimals for amount parsing (default 18).
isSMNFTbooleanSet true to create a permanent Super Massive veNFT (SMveNFT). The lock will never expire and grants additional voting power. This is NOT a 4-year lock — it is permanently locked.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. User wallet address. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

increase_lock_steps

Returns transaction steps to increase amount on an existing veNFT lock.

ParameterTypeDescription
amount *stringHuman-readable amount to add to lock.
tokenId *number
amountDecimalsnumberToken decimals for amount parsing (default 18).
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. User wallet address. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

merge_lock_steps

Returns transaction steps to merge one veNFT lock into another.

ParameterTypeDescription
fromTokenId *numberSource lock tokenId.
toTokenId *numberDestination lock tokenId.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. User wallet address. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

lock_advanced_steps

Returns advanced veNFT lock operation steps. Actions: 'extend' (extend unlock time, max 4 years; set isSMNFT=true to make it a permanent SMveNFT instead), 'withdraw' (withdraw expired lock), 'lockPermanent' (convert existing lock to permanent — no expiry), 'unlockPermanent' (revert a permanent lock back to timed), 'claimRebase' (claim rebase/anti-dilution rewards from RewardsDistributor — use when get_user_locks shows non-zero rebaseClaimable). Note: SMveNFT (isSMNFT=true) and lockPermanent are both permanent but are distinct lock types.

ParameterTypeDescription
action *string
isSMNFTbooleanFor action='extend': set true to extend as a permanent SMveNFT. The lock will never expire.
lockDurationInSecondsnumberRequired for action='extend'. Lock duration in seconds (max 4 years). Ignored for expiry when isSMNFT=true.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
tokenIdnumber
userAddressstringOptional. User wallet address. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

vote_steps

Returns voterV3 voting transaction steps for veNFT voting actions.

ParameterTypeDescription
action *stringVoting action to execute on voterV3.
tokenId *numberveNFT lock tokenId used for vote/reset/poke.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressesarrayPool addresses for action='vote'.
poolWeightsarrayRaw weight values for action='vote' (same order as poolAddresses).
userAddressstringOptional. User wallet address (context for voting operations). Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KE…

get_lock_vote_state

Returns the complete state of a veNFT lock: locked amount, expiry, lock type (standard / superMassive / permanent), days until expiry, current voting power (including SMNFT boost), active pool allocations with percentages, carry-forward status, last-voted epoch timestamps, and auto-vote status. Use this whenever you need to inspect where a lock is currently voted, how much power it has, or whether its votes are carrying forward from a previous epoch.

ParameterTypeDescription
tokenId *stringThe veNFT token ID to query.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.

vote_leaderboard

Gauge leaderboard for veBLACK voters. INCENTIVES = EXTERNAL BRIBES: these terms are interchangeable on Blackhole. When a user says 'add incentive', 'top incentive pools', or 'which pools have incentives', they mean external bribes via add_bribes_steps. Each row includes externalBribesUsd (USD value of external incentives this epoch). Voter rewards and vAPR depend only on this epoch's reward inventory (rewardTokens) and vote weight on the gauge (votes/votesUsd) -- NOT on pool TVL. tvlUsd is informational only. vAPR = implied annualized (fee + bribe/incentive) rewards per $1 of vote power --…

ParameterTypeDescription
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
minVotesnumberOptional **list filter**: minimum raw **`votes`** on the gauge (protocol vote units). **Preferred for dilution:** same units as `extra / (votes + extra)` — line up with your ve voting power in **`vo…
minVotesUsdnumberOptional **list filter**: minimum **`votesUsd`** (votes × BLACK USD price). Use for a **dollar** threshold only; for dilution vs your on-chain vote size, prefer **`minVotes`** so units match row `vot…
poolTypestringFilter by pool type (default 'all').
sortBystringVoter-centric sort. votes (default) -- rank by vote weight. vapr -- implied voter yield from rewardTokens / votes. emissionsUsd -- BLACK emissions per epoch. externalBribesUsd -- external incentive/br…
sortOrderstringSort direction (default desc).
topNnumberNumber of gauges to return (default 25).

get_epoch_state

Returns the current epoch timing state from the Blackhole minter: epoch number, start/end timestamps, time remaining, and scheduled BLACK emissions for this epoch. Use this to determine where in the vote cycle you are before placing or adjusting votes.

ParameterTypeDescription
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.

get_tokenomics

Returns BLACK token tokenomics: total supply, circulating supply, market cap, FDV, current epoch emissions, and a projected 10-epoch emissions schedule. Circulating supply excludes tokens locked in veNFTs and burned tokens. Market cap and FDV are null if the price feed is unavailable.

ParameterTypeDescription
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.

create_gauge_steps

Returns transaction steps to create a gauge on GaugeManager via createGaugeWithBonusReward.

ParameterTypeDescription
bonusRewardToken *stringBonus reward token address (usually the protocol token).
gaugeType *number0 = basic V2 pool, 1 = concentrated liquidity pool.
poolAddress *stringPool/pair address to gauge-ify.
gaugeManagerAddressstringOptional override; defaults to pair API gaugeManager().
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. User wallet address (tx sender). Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

add_bribes_steps

Add incentives (external bribes) to a gauge — 'incentive' and 'bribe' are interchangeable on Blackhole. Returns transaction steps to deposit tokens into a pool's external bribe contract via notifyRewardAmount. Incentives flow to veBLACK voters who vote for that gauge this epoch. Use vote_leaderboard with sortBy='externalBribesUsd' to find the bribeAddress for a pool.

ParameterTypeDescription
amount *stringHuman-readable bribe amount.
bribeAddress *stringExternal bribe contract address for the gauge.
rewardToken *stringReward token address being deposited as bribe.
amountDecimalsnumberReward token decimals (default 18).
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. User wallet address (tx sender). Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

create_cl_pool_steps

Returns transaction steps to deploy a new concentrated-liquidity pool via customPoolDeployer.createCustomPool. Pass tickSpacing (1/50/100/200) to auto-resolve deployerAddress, or pass deployerAddress directly.

ParameterTypeDescription
creator *stringPool creator address (usually the user).
initialPrice *stringHuman-readable initial price (tokenB per tokenA).
tokenA *stringAddress of token A.
tokenADecimals *numberDecimals of token A.
tokenB *stringAddress of token B.
tokenBDecimals *numberDecimals of token B.
deployerAddressstringOptional. Tick-spacing-specific custom pool deployer address. Auto-resolved from tickSpacing when omitted. Do NOT guess.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolInitDatastringOptional bytes payload forwarded to deployer (default '0x').
tickSpacingnumberCL tick spacing. Used to auto-resolve deployerAddress when it is omitted.
userAddressstringUser wallet address (tx sender). If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

resolve_address

Look up protocol/system addresses. Kinds: 'user_address' (the address configured via PRIVATE_KEY or USER_ADDRESS env var — use when the user asks for 'my address', 'my wallet', 'configured address', etc.), 'protocol' (router, voter, pair_api, nfpm, wavax, black, etc. — see 'list_protocol' for full list), 'cl_deployer' (current deployer by tickSpacing 1/10/50/100/200), 'cl_deployer_legacy' (legacy/pre-migration deployer by tickSpacing 1/50/100/200), 'pool' (basic_stable/basic_volatile/cl for tokenA+tokenB, CL requires tickSpacing), 'gauge' (for a pool), 'pool_from_gauge' (reverse lookup via…

ParameterTypeDescription
kind *stringWhat to resolve.
gaugeAddressstringGauge address. Required for kind='pool_from_gauge'.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
namestringProtocol name for kind='protocol'. One of: router, router_helper, voter, voting_escrow, pair_api, pool_api_cl, pair_factory, algebra_factory, gauge_manager, nfpm, wavax, black, minter, ve_nft_api, bri…
poolAddressstringPool address. Required for kind='gauge' or kind='bribe'.
poolTypestringPool category for kind='pool'.
tickSpacingnumberCL tick spacing. Required for kind='cl_deployer' and for kind='pool' with poolType='cl'.
tokenAstringFirst token address. Required for kind='pool'.
tokenBstringSecond token address. Required for kind='pool'.
variantstringBribe contract variant for kind='bribe'. Defaults to 'external'.

estimate_gas_and_tx_cost

Estimates gas limit and approximate native (AVAX) fee for one or more unsigned transactions on Avalanche C-Chain. Accepts the same { to, data, value } shape as compacted *_steps payloads (hex calldata). Use the user's wallet as `from`. For multi-step flows, pass `calls` in execution order; costs are summed.

ParameterTypeDescription
from *stringSender address (must match the wallet that will sign).
callsarrayOptional list of { to, data, value? } objects. When present, root-level to/data/value are ignored.
datastringHex-encoded calldata for a single transaction; use 0x for a plain AVAX transfer.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
tostringTarget address for a single transaction (ignored when `calls` is provided).
valuestringOptional value in wei (decimal string) for a single transaction. Defaults to 0.

get_token_balances

Returns all token balances (ERC20 + native AVAX) for an address with USD values. Use to check vault holdings before trading. Each entry has: `balance` (EXACT decimal string, do NOT round), `balanceRaw` (wei as string), `decimals`. Use `balance` verbatim as `amountIn` when spending the full balance.

ParameterTypeDescription
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. Wallet address to check balances for. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDR…

get_user_positions

Returns all active liquidity positions for an address — V2 LP balances, concentrated CL positions, and ALM (Steer/Gamma) vault positions. Includes exact V2 balances (`lpBalance`, `stakedBalance`) plus raw amounts (`lpBalanceRaw`, `stakedBalanceRaw`), token splits, claimable fees, pending emissions, sourceType (steer/gamma), vaultAddress, strategyName, and USD values for each.

ParameterTypeDescription
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. Wallet address to check positions for. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADD…

get_user_locks

Returns all veNFT locks for an address — locked amount, voting power, rebase rewards, lock expiry, vote distribution across pools, permanent/SMNFT status.

ParameterTypeDescription
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. Wallet address to check locks for. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS…

get_whitelisted_tokens

Returns all whitelisted tokens on Blackhole DEX with current USD prices. Use to discover available tokens and their addresses.

ParameterTypeDescription
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.

get_allowances

Returns current ERC20 allowances for a wallet across the key Blackhole DEX spenders (router, router_helper, nfpm, voting_escrow, gauge_manager). Use this before executing any transaction to check whether approvals are already in place and avoid redundant approve steps. By default only non-zero allowances are returned.

ParameterTypeDescription
includeZerobooleanInclude tokens with zero allowance. Defaults to false.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
spendersarraySpender names to check. Omit to check all key spenders.
tokensarraySpecific token addresses to check. Omit to check all whitelisted tokens.
userAddressstringOptional. Wallet address to check allowances for. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_AD…

get_pool_status

Returns full status of a specific pool: gauge activity (periodFinish, rewardRate, stakedSupply), token details, reserves/liquidity, TVL, **votes** (vote weight already on this gauge’s snapshot), epoch emissions, staked fees, bribe inventories (internal fee-shares + external incentives), ALM-managed liquidity (Steer/Gamma vaults on this pool), and `liquidityBreakdown` (totalTvlUsd, stakedTvlUsd, unstakedTvlUsd, stakedPercent, unstakedPercent). For CL pools, `cl.volume24hUsd`, `cl.volume7dUsd`, and cumulative `cl.totalVolumeUsd` are also provided; `liquidityBreakdown` assumes 100% staked TVL (…

ParameterTypeDescription
poolAddress *stringAddress of the pool (pair address) to check.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.

get_opportunities

Scans a wallet for actionable items: expiring or expired veNFT locks (loss of voting power and rewards), unvoted locks (earning nothing), out-of-range CL positions (earning zero fees), and unclaimed rebase tokens. Note: votes carry forward automatically each epoch — there is no need to re-vote unless changing allocations. Run this proactively before any epoch-related action.

ParameterTypeDescription
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
userAddressstringOptional. Wallet address to scan. Defaults to the address derived from PRIVATE_KEY or USER_ADDRESS env var. If omitted, the server uses the address derived from PRIVATE_KEY, or USER_ADDRESS.

cl_tick_to_price

Convert a CL tick to a human-readable price. Optionally pass poolAddress to auto-detect token decimals and symbols.

ParameterTypeDescription
tick *numberThe tick value to convert.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringCL pool address — auto-detects decimals and symbols.
token0DecimalsnumberDecimals of token0 (default 18).
token1DecimalsnumberDecimals of token1 (default 18).

cl_price_to_tick

Convert a human-readable price to the nearest valid CL tick. Aligns to pool tickSpacing when poolAddress is provided.

ParameterTypeDescription
price *numberThe price (token1 per token0) to convert.
alignToSpacingbooleanAlign tick to pool tickSpacing (default true).
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringCL pool address — auto-detects decimals and aligns to tickSpacing.
token0DecimalsnumberDecimals of token0 (default 18).
token1DecimalsnumberDecimals of token1 (default 18).

cl_position_detail

Get detailed info about a CL position range — prices at tick boundaries, width %, in-range status, token amounts. Use to understand what a position looks like before entering.

ParameterTypeDescription
poolAddress *stringCL pool address.
tickLower *numberLower tick of the range.
tickUpper *numberUpper tick of the range.
depositUsdnumberOptional USD deposit amount to estimate position size.
liquidityAmountstringOptional liquidity amount to compute token split.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.

cl_apr_simulator

Simulate APR for a CL pool at different position widths. Shows how APR changes as you go from narrow (high APR, high rebalance risk) to wide (low APR, stable). Essential for choosing optimal tick range.

ParameterTypeDescription
poolAddress *stringCL pool address to simulate.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
widthsarrayOptional array of widths in ticks to simulate. Defaults to common multiples of tickSpacing.

get_alm_vaults

Lists all ALM (Automated Liquidity Management) vaults managed by Steer Protocol and Gamma on Blackhole DEX. Steer vaults are discovered dynamically via the Steer subgraph (filtered to Blackhole pools). Gamma vaults are discovered via on-chain calls to configured vault addresses. Returns per vault: sourceType, poolAddress, vaultAddress, strategyName, managerAddress, token amounts, tvlUsd, pool volumeUSD/feesUSD (cumulative), active (tvlUsd > 0), and Steer strategy metadata. Filter by poolAddress, activeOnly, or sourceType.

ParameterTypeDescription
activeOnlybooleanIf true, return only vaults with tvlUsd > 0. Defaults to false.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
poolAddressstringOptional: filter to vaults managing liquidity for a specific pool address.
sourceTypestringFilter by ALM provider. Defaults to 'all'.

get_pool_lp_providers

Show top LP providers (liquidity providers) for a specific pool — supports both V2 (volatile/stable AMM) and concentrated liquidity (CL) pools. Returns wallets sorted by TVL held, with LP balances, token amounts, USD value, and each wallet's share of pool TVL. Answers: 'Which wallets hold the most liquidity in this pool?' and 'Show top LPs for pool X.'

ParameterTypeDescription
poolAddress *stringThe pool contract address to query LP providers for.
limitnumberMaximum number of top LP providers to return. Default 20, max 100.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.

execute_transactions

Executes one or more prepared transaction payloads on Avalanche using PRIVATE_KEY from the MCP server environment. Use only after the user has reviewed and confirmed the transaction steps.

ParameterTypeDescription
confirm *booleanMust be true to broadcast transactions with the configured private key.
callobjectSingle compact transaction object: { to, data, value }.
callsarrayCompact transaction objects to execute sequentially: [{ to, data, value }].
datastringSingle transaction calldata as a 0x-prefixed hex string.
fromstringOptional signer address safety check; must match the private key-derived address.
mcp_debugbooleanOptional. When true: pretty-print JSON and keep full transaction payloads (abi, functionName, args). When false or omitted: compact JSON and encode calldata as { to, value, data }.
stepsarrayStep objects from *_steps tools. Executed sequentially — each transaction is confirmed before the next is sent. Critical for approval→action pairs: the approval must land on-chain before the depen…
tostringSingle transaction target address. Use this with `data` and optional `value`.
valuestringSingle transaction native value in wei as a decimal or hex string. Defaults to 0.
waitForReceiptbooleanWait for each transaction receipt before sending the next call. Defaults to true.