Skip to content

docs: update use case examples 2026-08-31 - #112

Merged
ScreamingHawk merged 2 commits into
mainfrom
docs/update-use-cases-2026-08-31
Sep 17, 2026
Merged

ScreamingHawk merged 2 commits into
mainfrom
docs/update-use-cases-2026-08-31

Conversation

@JamesLawton

Copy link
Copy Markdown
Collaborator

What changed

  • use-cases/fund.mdx — the direct-integration example no longer calls the CommitIntent HTTP endpoint. It reads intent.intentId from the QuoteIntent response and calls ExecuteIntent directly. The quote-expiry note is corrected to 5 minutes and links out to ExecuteIntentEdge for Solana/Tron origin flows.
  • resources/llm-integration.mdx — the executePayment tool example mirrors the same change: no commitIntent call, use intent.intentId.

Source of truth

  • Server: 0xsequence/trails-api@5c42fda7 — CommitIntent marked deprecated in proto/trails-api.ridl, and ExecuteIntent now accepts QUOTED intents (0xsequence/trails-api#1031).
  • Client: 0xsequence/trails@6ae74cb — 0xtrails 0.18.0 CHANGELOG: "CommitIntent is removed from the send flow entirely: non-edge sends call ExecuteIntent directly after quoting."

Verification

  • Cross-checked against the packages/0xtrails/src/mutations.ts @deprecated annotation on useCommitIntent.
  • Confirmed intent.intentId is present on QuoteIntentResponse.intent in the source RIDL (Intent.intentId, proto/trails-types.ridl:315).
  • The introduced ExecuteIntentEdge link resolves once the sibling docs/update-api-reference-2026-08-31 PR lands (that PR creates api-reference/endpoints/execute-intent-edge.mdx).

Generated by the Trails Docs weekly agent.


Generated by Claude Code

trails-docs-agent and others added 2 commits September 17, 2026 15:15
Drop the deprecated CommitIntent HTTP step from the direct-integration
examples in Fund and the LLM Integration guide. Both now call
ExecuteIntent directly on intent.intentId, matching the 0xtrails 0.18.0
lifecycle change.

Source of truth: 0xsequence/trails-api@5c42fda7
(proto/trails-api.ridl marks CommitIntent DEPRECATED; new clients call
ExecuteIntent on a QUOTED intent).

- use-cases/fund.mdx — remove the CommitIntent fetch, use
  intent.intentId, correct quote-expiry note (5 min, not 10), and link
  the Solana/Tron ExecuteIntentEdge path
- resources/llm-integration.mdx — mirror the same change in the
  executePayment tool example
handle_quote.go sets intent.ExpiresAt to now + 15 minutes; ExecuteIntent on a
QUOTED intent checks that same timestamp.
@ScreamingHawk
ScreamingHawk force-pushed the docs/update-use-cases-2026-08-31 branch from 9547c16 to 5a93c01 Compare September 17, 2026 03:15
@mintlify

mintlify Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Status Preview Updated
trails 🟢 Ready View Preview Sep 17, 2026, 3:16 AM

💡 Tip: Enable Automations to automatically generate PRs for you.

@ScreamingHawk
ScreamingHawk merged commit f5f55e3 into main Sep 17, 2026
4 checks passed
@ScreamingHawk
ScreamingHawk deleted the docs/update-use-cases-2026-08-31 branch September 17, 2026 03:23

This branch was successfully deployed

1 active deployment
staging — 5a93c016 Deployed Sep 17, 2026 by mintlify[bot]
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.

2 participants