Skip to content

Conversation

@avarobinson
Copy link

Motivation

  • Ensure sending transaction guides present both raw API examples and JavaScript SDK examples while removing the React tab, and display API first.

Description

  • Replaced React tabs with API tabs and added JavaScript tabs in fern/wallets/pages/transactions/send-transactions/index.mdx, send-batch-transactions/index.mdx, send-parallel-transactions/index.mdx, and using-eip-7702/index.mdx.
  • Updated the prepare-calls sections to show an API tab linking to wallet_prepareCalls and a JavaScript tab linking to the SDK prepareCalls where applicable, and removed React-specific prepare-calls content.
  • Ensured API tabs are listed first across the modified pages and removed duplicated API blocks.

Testing

  • Ran pre-commit hooks including eslint --fix and prettier --write --log-level silent, both of which completed successfully.
  • The commit and pre-commit tasks completed without errors during the change.

Codex Task

@avarobinson avarobinson requested a review from a team as a code owner January 16, 2026 17:21
@github-actions
Copy link

github-actions bot commented Jan 16, 2026

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jan 16, 2026, 5:24 PM

@github-actions github-actions bot temporarily deployed to docs-preview January 16, 2026 17:22 Destroyed
<Tabs>
<Tab title="React">
<Markdown src="react.mdx" />
<Tab title="API">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i thought were were going to have the js tab be the default?

<Tabs>
<Tab title="React">
<Markdown src="react.mdx" />
<Tab title="API">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: pre-existing issue

Suggested change
<Tab title="API">
<Tab title="API" language="bash">>

<Tabs>
<Tab title="React">
<Markdown src="react.mdx" />
<Tab title="API">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Tab title="API">
<Tab title="API" language="bash">

<Tabs>
<Tab title="React">
<Markdown src="react.mdx" />
<Tab title="API">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Tab title="API">
<Tab title="API" language="bash">

<Tab title="React">
See the [`usePrepareCalls` react
hook](/wallets/reference/account-kit/react/hooks/usePrepareCalls)
<Tab title="API">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Tab title="API">
<Tab title="API" language="bash">

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants