{"uid":"cap_tDCx90sy4FjUGsHHDqq4N","slug":"minara-ai-intent-to-swap-transaction-958b6ff0","name":"Minara AI Intent-to-Swap Transaction","description":"Convert natural language intent to swap transaction","url":"https://x402.minara.ai/x402/intent-to-swap-tx","method":"POST","headers":{},"bodySchema":{"type":"object","required":["intent","walletAddress"],"properties":{"chain":{"type":"string","description":"Chain name"},"intent":{"type":"string","description":"Natural language of swap intent"},"walletAddress":{"type":"string","description":"User wallet address"}}},"responseSchema":{"properties":{"transaction":{"type":"object","properties":{"chain":{"type":"string","description":"Chain name"},"amount":{"type":"string","description":"Amount"},"slippagePercent":{"type":"string","description":"Slippage percent"},"amountPercentage":{"type":"number","description":"Amount percentage"},"inputTokenSymbol":{"type":"string","description":"Input token symbol"},"inputTokenAddress":{"type":"string","description":"Input token address"},"outputTokenSymbol":{"type":"string","description":"Output token symbol"},"outputTokenAddress":{"type":"string","description":"Output token address"}},"description":"Swap transaction result"}},"description":"Swap transaction result"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H_CjOI56oNxMm3ifsBwuP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a natural language swap intent into a structured crypto swap transaction object ready for execution","exampleAgentPrompt":"I want to swap 50% of my ETH for USDC on Base — my wallet is 0xAbC1234...5678. Can you generate the swap transaction parameters for that?","exampleUseCases":[{"title":"Convert voice command into token swap","prompt":"I just got paid in DAI and want to diversify — swap half of it for ETH right now. My wallet is 0x742d35Cc6634C0532925a3b844Bc9e7595f42e7. Can you build me the transaction parameters?"},{"title":"Parse user intent for multi-chain swap","prompt":"I'm holding a ton of USDT on Polygon but I want to move it to Ethereum and convert it to WETH instead. Turn that into swap transaction parameters so I can execute it — here's my wallet: 0x8d3B4Eb2aFe5C8B3d7E9F2a1C6B5D4E3A9F2C1B"},{"title":"Generate swap params from casual description","prompt":"Hey, I'm looking to trade 25% of my Bitcoin for stablecoins to lock in some gains. Can you convert that into proper swap transaction parameters for me on Ethereum? My address is 0x1A2B3C4D5E6F7G8H9I0J1K2L3M4N5O6P"}],"resultDescription":"Returns a structured swap transaction object containing input and output token symbols and addresses, the chain name, swap amount, slippage percentage, and amount percentage — everything needed to construct and execute a token swap on-chain.","failureModes":["Ambiguous intent that cannot be parsed into a valid swap (e.g. missing token or amount)","Unsupported chain name returns an error or empty transaction","Invalid or malformed wallet address rejected by validation","Intent references a token that cannot be resolved to a known address","Payment failure (402) if USDC payment is not provided or is insufficient"],"whenToPreferThis":"Use this endpoint when you need to parse a user's free-text swap request into structured, actionable swap transaction parameters without requiring the user to know token contract addresses or exact amounts. Ideal for conversational DeFi agents that accept natural language instructions and need to bridge them to on-chain execution. Prefer over manually constructing swap parameters when the input is unstructured or user-generated.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:38:23.854Z","isFirstParty":false}