Skip to content

Docs/sdk 0.15.0 updates#82

Merged
JamesLawton merged 5 commits intomainfrom
docs/sdk-0.15.0-updates
Apr 30, 2026
Merged

Docs/sdk 0.15.0 updates#82
JamesLawton merged 5 commits intomainfrom
docs/sdk-0.15.0-updates

Conversation

@JamesLawton
Copy link
Copy Markdown
Collaborator

No description provided.

JamesLawton and others added 4 commits April 30, 2026 09:51
- Add wagmi + react-query provider setup example to TrailsProvider docs
- Add paymentMethod quick-start flows to Fund page
- Note exchange flow requires allowlist access
- Add note that from prop is typed based on paymentMethod

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove paymasterUrls prop from gasless.mdx (removed in 0.15.0)
- Remove 4337 paymaster integration section and related content
- Fix recoverToAddress -> refundToAddress in refunds.mdx
- Fix UseQuoteReturn type: swap -> send in sdk/modes/swap.mdx
- Fix button callback swap?.() -> send?.() in headless swap example
- Replace TrailsWidget+onCheckout* with Swap+onSwap* in event handling

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-cases

The Aave example was showing users how to manually encode depositETH
calldata, but Aave is a natively supported protocol — the lend() action
handles the contract calls internally without any ABI encoding. The
previous example was also inconsistent (depositETH for USDC).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Documents the new YieldGetMarkets, YieldGetProviders, YieldGetAggregateBalances, YieldCreateEnterAction, and YieldCreateExitAction endpoints introduced alongside the 0.15.0 SDK update. Adds deprecation notice to the legacy GetEarnPools page. Updates navigation and intro page.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented Apr 30, 2026

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

Project Status Preview Updated (UTC)
trails 🟢 Ready View Preview Apr 30, 2026, 3:59 PM

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

Adds GetYieldMarketsRequest/Response, GetYieldProvidersRequest/Response,
GetYieldAggregateBalancesRequest/Response, and CreateYieldActionRequest/Response
schemas to trails-api.gen.yaml and the corresponding path entries. Regenerates
trails-api.gen.json. Adds openapi frontmatter to each yield endpoint MDX page so
Mintlify renders the interactive POST panel with request/response schemas.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JamesLawton JamesLawton merged commit 7f8d23f into main Apr 30, 2026
4 checks passed
@JamesLawton JamesLawton deleted the docs/sdk-0.15.0-updates branch April 30, 2026 16:31
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.

1 participant