You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wallet/reference/multichain-api.md
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -37,16 +37,15 @@ This method is defined in [CAIP-25](https://github.com/ChainAgnostic/CAIPs/blob/
37
37
For example, you can use this property for an `"eip155"` scope, but not an `"eip155:10"` scope.
38
38
39
39
References are mainly used when there would otherwise be duplicate scopes.
40
-
-`methods`: `array` - A list of JSON-RPC methods the wallet must support in order to be used with this dapp.
41
-
-`notifications`: `array` - A list of JSON-RPC notifications the wallet must support in order to be used with this dapp.
40
+
-`methods`: `array` - A list of JSON-RPC methods the wallet must support to be compatible with the dapp.
41
+
-`notifications`: `array` - A list of JSON-RPC notifications the wallet must support to be compatible with the dapp.
42
42
-`accounts`: `array` - (Optional) A list of [CAIP-10](https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-10.md)
43
43
account IDs valid within this scope.
44
-
Dapps should only supply this property when they know the set of accounts they would like the user to permit.
44
+
Dapps should include this only if they know which accounts they want the user to permit.
45
45
When supplied, these accounts are preselected by default in the account selection process.
46
46
Dapps typically omit this property for the user to select their own accounts.
47
47
-`sessionProperties`: `object` - (Optional) Properties that the wallet can use to determine if the connection is valid.
48
-
-`requiredScopes`: `object` - (Optional) [CAIP-217](https://chainagnostic.org/CAIPs/caip-217) authorization scopes the wallet must support in order to be used
49
-
with this dapp.
48
+
-`requiredScopes`: `object` - (Optional) [CAIP-217](https://chainagnostic.org/CAIPs/caip-217) authorization scopes the wallet must support to be compatible with the dapp.
50
49
We don't recommend using `requiredScopes` with MetaMask.
51
50
MetaMask treats all `requiredScopes` as `optionalScopes`.
0 commit comments