Skip to content

Clarify wallet_invokeMethod params type in Multichain API docs#2677

Open
kinderjoypresents wants to merge 1 commit intoMetaMask:mainfrom
kinderjoypresents:docs/fix-wallet-invokemethod-params-type
Open

Clarify wallet_invokeMethod params type in Multichain API docs#2677
kinderjoypresents wants to merge 1 commit intoMetaMask:mainfrom
kinderjoypresents:docs/fix-wallet-invokemethod-params-type

Conversation

@kinderjoypresents
Copy link

@kinderjoypresents kinderjoypresents commented Feb 2, 2026

This PR clarifies the params type in the wallet_invokeMethod request schema. JSON-RPC parameters may be either an object or an array, so the docs now reflect that.


Note

Low Risk
Low risk documentation-only changes; the main impact is potential developer guidance changes around JSON-RPC params accepting arrays as well as objects.

Overview
Clarifies the wallet_invokeMethod request schema by documenting params as object | array to match JSON-RPC usage.

Also tidies multichain-api.md formatting (admonition blocks, JSON example array formatting, and ensures a trailing newline) without changing documented behavior.

Written by Cursor Bugbot for commit b9dac3d. This will update automatically on new commits. Configure here.

@kinderjoypresents kinderjoypresents requested review from a team as code owners February 2, 2026 21:15
@vercel
Copy link

vercel bot commented Feb 2, 2026

@kinderjoypresents is attempting to deploy a commit to the Consensys Team on Vercel.

A member of the Team first needs to authorize it.

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