From f3447781722ef5ba6a055e5e738da6a681db3bdf Mon Sep 17 00:00:00 2001 From: base-docs-bot Date: Tue, 5 Aug 2025 19:14:27 +0100 Subject: [PATCH] Update documentation based on source code changes --- .../provider-rpc-methods/wallet_connect.mdx | 58 ++++++++++++++++++- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/docs/base-account/reference/core/provider-rpc-methods/wallet_connect.mdx b/docs/base-account/reference/core/provider-rpc-methods/wallet_connect.mdx index cbdcd9b9..09d6b69a 100644 --- a/docs/base-account/reference/core/provider-rpc-methods/wallet_connect.mdx +++ b/docs/base-account/reference/core/provider-rpc-methods/wallet_connect.mdx @@ -1,3 +1,4 @@ +```mdx --- title: "wallet_connect" description: "Connect wallet and request account access" @@ -38,7 +39,45 @@ A unique random string to prevent replay attacks. The chain ID as a hexadecimal string (e.g., "0x2105" for Base Mainnet). - + + +The version of the sign-in request. + + + +The scheme of the request. + + + +The domain associated with the request. + + + +The URI for the request. + + + +A statement associated with the request. + + + +The timestamp when the request was issued. + + + +The expiration time of the request. + + + +The time before which the request is not valid. + + + +A unique identifier for the request. + + + +An array of resources associated with the request. @@ -76,6 +115,14 @@ The cryptographic signature of the message. + + +Array of sub-account objects if requested. + + + +Spend permissions results if requested. + @@ -123,7 +170,12 @@ Whether the wallet is connected. "capabilities": { "signInWithEthereum": { "nonce": "abc123def456", - "chainId": "0x2105" + "chainId": "0x2105", + "version": "1", + "domain": "localhost", + "uri": "http://localhost:3000", + "statement": "Sign in with Ethereum to the app.", + "issuedAt": "2024-01-15T10:30:00Z" } } }] @@ -195,3 +247,5 @@ You can use the `wallet_connect` with the [`signInWithEthereum`](/base-account/r import PolicyBanner from "/snippets/PolicyBanner.mdx"; + +``` \ No newline at end of file