Skip to main content
Use Man0’s authenticated Intents endpoints to build the same flow as Fund / Swap. Keep a route’s deposit address and memo with its funding leg throughout execution.

Quote and review

POST /api/near/intents/quote takes prompt, dry and optional connected wallet addresses. The response includes the action, source/destination tokens, recipient, quote, funding legs and total quoted output.
Use the preview to show the amount, wallets and destination. Request the executable route when the user continues. Preserve the returned amounts and instructions rather than recalculating a quote locally.

Submit the legs

EVM wallet discovery uses EIP-6963, with network selection and native/ERC-20 transfer handling. Solana preparation builds the transaction message, supports SPL and Token-2022 tokens, prepares associated token accounts as needed and includes the route memo. The Solana preparation response provides transactionBase64 and messageBase58, with blockhash expiry information. Send the wallet-signed transaction bytes back as signedTransactionBase64.

Follow the status

Poll GET /api/near/intents/status with depositAddress and, where needed, depositMemo. The response can include origin and destination transaction links. Refresh account balances after completion. See the Intents endpoints for the exact request and response fields.