diff --git a/appkit/android/core/actions.mdx b/appkit/android/core/actions.mdx index a8c452f35..e961c2f01 100644 --- a/appkit/android/core/actions.mdx +++ b/appkit/android/core/actions.mdx @@ -109,6 +109,11 @@ Returns the current active account connected via AppKit ```kotlin AppKit.getAccount() + +// With optional namespace parameter for specific blockchain network +AppKit.getAccount("eip155") // for EVM chains +AppKit.getAccount("solana") +AppKit.getAccount("bip122") // for bitcoin ``` ### Get Connection type diff --git a/appkit/unity/core/actions.mdx b/appkit/unity/core/actions.mdx index 740b63f10..90bfffc0b 100644 --- a/appkit/unity/core/actions.mdx +++ b/appkit/unity/core/actions.mdx @@ -48,6 +48,11 @@ Chain activeChain = AppKit.NetworkController.ActiveChain; // Get active account in CAIP-10 format Account account = AppKit.GetAccountAsync(); +// Get account for a specific blockchain network using namespace parameter +Account eip155Account = AppKit.GetAccountAsync("eip155"); // for EVM chains +Account solanaAccount = AppKit.GetAccountAsync("solana"); +Account bip122Account = AppKit.GetAccountAsync("bip122"); // for bitcoin + Debug.Log(account.Address); // e.g. '0x12345...' Debug.Log(account.ChainId); // e.g. 'eip155:1' Debug.Log(account.AccountId); // e.g. 'eip155:1:0x12345...' diff --git a/snippets/web3modal/v2/_partials/options/privacyPolicyUrl.mdx b/snippets/web3modal/v2/_partials/options/privacyPolicyUrl.mdx index bb8b5f3de..9382462ed 100644 --- a/snippets/web3modal/v2/_partials/options/privacyPolicyUrl.mdx +++ b/snippets/web3modal/v2/_partials/options/privacyPolicyUrl.mdx @@ -1,4 +1,4 @@ -String URL to your privacy policy page, if specified will append special "legal info" footer to the modal. Defaults to `undefined`. +String URL to your privacy policy page, if specified will append special "legal info" footer to the modal. The "UX by reown" branding footer will always be displayed regardless of this setting. Defaults to `undefined`. ```ts privacyPolicyUrl: 'https://example.com/privacy-policy' diff --git a/snippets/web3modal/v2/_partials/options/termsOfServiceUrl.mdx b/snippets/web3modal/v2/_partials/options/termsOfServiceUrl.mdx index 630ae35b0..e61324816 100644 --- a/snippets/web3modal/v2/_partials/options/termsOfServiceUrl.mdx +++ b/snippets/web3modal/v2/_partials/options/termsOfServiceUrl.mdx @@ -1,4 +1,4 @@ -String URL to your terms of service page, if specified will append special "legal info" footer to the modal. Defaults to `undefined`. +String URL to your terms of service page, if specified will append special "legal info" footer to the modal. The "UX by reown" branding footer will always be displayed regardless of this setting. Defaults to `undefined`. ```ts termsOfServiceUrl: 'https://example.com/terms-and-conditions'