Skip to content

Nomadex MCP: swap_txn fails — pool 47424655 not found in config #10

Description

@temptemp3

Summary

When calling nomadex_swap_txn for a UNIT → WAD swap on Voi mainnet, the MCP returns an error that the pool is missing from server config, even though the pool exists on-chain and nomadex_get_quote succeeds for the same pair.

Error

Pool 47424655 not found in config

Reproduction

Tool: nomadex_swap_txn (Ulu / Nomadex MCP)

Parameters (example):

  • fromToken: UNIT
  • toToken: WAD
  • amount: 8 (human units)
  • sender: <Voi address>
  • slippage: 3 (also tried 1)

Observed: Request fails immediately with Pool 47424655 not found in config.

Contrast: For the same route, nomadex_get_quote succeeds and reports:

  • poolAppId: 47424655
  • source: nomadex

So quote discovery knows the pool, but transaction building does not.

Expected

nomadex_swap_txn should build unsigned transactions for the same pool nomadex_get_quote selects (here 47424655 for UNIT/WAD on Voi), or the MCP should document which pools are supported and align quote vs swap behavior.

Actual

Swap path cannot be executed via MCP; had to fall back to Humble humble-swap_swap_txn (pool 47175149) for the same UNIT → WAD trade, with materially different pricing vs the Nomadex quote.

Context

  • Network: Voi mainnet
  • Pair: UNIT (ARC-200 420069) → WAD (ARC-200 47138068)
  • On-chain / indexer: Mimir lists pool 47424655 as Nomadex UNIT/WAD with non-trivial liquidity.

Suggested fix

  • Add pool 47424655 (and any other live Nomadex pools used by quote routing) to the MCP swap builder config, or
  • Drive swap_txn from the same pool discovery logic as get_quote so they cannot diverge.

Reported from agent workflow: Nomadex quote OK, Nomadex swap_txn blocked by missing pool config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions