Skip to content

feat: update wallet_sendPreparedCalls to use new call id#991

Open
jakehobbs wants to merge 2 commits intomainfrom
jake/wallet-send-prepared-calls-id
Open

feat: update wallet_sendPreparedCalls to use new call id#991
jakehobbs wants to merge 2 commits intomainfrom
jake/wallet-send-prepared-calls-id

Conversation

@jakehobbs
Copy link
Contributor

Description

Related Issues

Changes Made

Testing

  • I have tested these changes locally
  • I have run the validation scripts (pnpm run validate)
  • I have checked that the documentation builds correctly

@jakehobbs jakehobbs requested a review from a team as a code owner February 5, 2026 23:54
Copilot AI review requested due to automatic review settings February 5, 2026 23:54
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

🌿 Documentation Preview

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Feb 6, 2026, 12:03 AM

@github-actions github-actions bot temporarily deployed to docs-preview February 5, 2026 23:55 Destroyed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the wallet_sendPreparedCalls API to introduce a new id field in both the request and response, while deprecating the existing preparedCallIds array. The change simplifies the API by using a single call ID instead of an array.

Changes:

  • Added id field to the API schema and marked preparedCallIds as deprecated
  • Updated all documentation examples to use the new id field instead of preparedCallIds[0]
  • Simplified response handling across client SDK and API examples

Reviewed changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/openrpc/alchemy/wallet-api/wallet-api.yaml Added id field to request/response schema and deprecated preparedCallIds
fern/wallets/pages/transactions/using-eip-7702/third-party.mdx Updated destructuring to use id instead of preparedCallIds[0]
fern/wallets/pages/transactions/using-eip-7702/client.mdx Updated to use id field in sendCalls response
fern/wallets/pages/transactions/swap-tokens/client.mdx Updated to use id field throughout swap example
fern/wallets/pages/transactions/swap-tokens/api.mdx Updated API response example to show id instead of preparedCallIds array
fern/wallets/pages/transactions/sponsor-gas/client.mdx Updated to use id field in gas sponsorship example
fern/wallets/pages/transactions/send-transactions/client.mdx Updated to use id field in basic transaction example
fern/wallets/pages/transactions/send-transactions/api.mdx Updated shell script to extract id instead of preparedCallIds[0]
fern/wallets/pages/transactions/send-parallel-transactions/client.mdx Updated parallel transactions to use individual id fields
fern/wallets/pages/transactions/send-parallel-transactions/api.mdx Updated API response documentation and clarified single ID per call
fern/wallets/pages/transactions/send-batch-transactions/client.mdx Updated batch transactions to use id field
fern/wallets/pages/transactions/retry-transactions/client.mdx Updated retry logic to use id fields for both initial and replacement transactions
fern/wallets/pages/transactions/retry-transactions/api.mdx Updated API response to show id instead of preparedCallIds
fern/wallets/pages/transactions/pay-gas-with-any-token/client.mdx Updated to use id field in gas payment example
fern/wallets/pages/transactions/cross-chain-swap-tokens/client.mdx Updated cross-chain swap to use id field
fern/wallets/pages/transactions/cross-chain-swap-tokens/api.mdx Updated API response to show id instead of preparedCallIds
fern/wallets/pages/third-party/signers/turnkey.mdx Updated Turnkey integration examples to use id field
fern/wallets/pages/third-party/signers/privy.mdx Updated Privy integration examples to use id field
fern/wallets/pages/third-party/signers/custom-integration.mdx Updated custom integration to use id and improved error message
fern/wallets/pages/smart-wallets/session-keys/sdk.mdx Updated session keys examples to use id field
fern/wallets/pages/smart-wallets/quickstart/sdk.mdx Updated quickstart to use id field
fern/wallets/pages/signer/authentication/server-wallets.mdx Updated server wallet example to use id field
fern/wallets/pages/recipes/programmatic-wallet-creation.mdx Updated programmatic wallet creation to use id field and updated example output

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot temporarily deployed to docs-preview February 6, 2026 00:02 Destroyed
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