Skip to content

Router API Docs Sync: document info field on Compute Route 400 - #168

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/a4c5ed8e
Open

Router API Docs Sync: document info field on Compute Route 400#168
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/a4c5ed8e

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Update the Compute Route (POST /v2/fungible/route) 400 response to document the info field and the new unsupported direct-CCTP-to-L2 error case.

Changes

  • Add info to the 400 response schema for Compute Route, described as user-facing recovery guidance.
  • Document the new 400 case: direct EVM CCTP transfers to L2 are rejected with info: "No direct transfers to L2s for this amount. Transfer your funds to L1 and try again." and message: "Invalid toL2, CCTP transfer doesn't support post action.".
  • Note that when all candidate routes fail, the response surfaces the first captured route-processing error rather than a generic "Route not found." message.
  • Correct the IBC rate-limit description to reference the info field (the actual location of the remaining-capacity string).

Context

Follows upstream PR initia-labs/router-api#173, which added the info field to the CCTP-to-L2 rejection and preserves the first captured error when every candidate route fails.

@mintlify

mintlify Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
initia-docs 🟢 Ready View Preview Aug 5, 2026, 3:12 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants