APIs

Developer Docs

Open API method

May 16, 2025

Disclaimer: Leather does not guarantee the app’s behavior after wallet connection. Developers should implement proper UI and fallback logic.

Programmatically trigger the Leather extension to open, allowing users to interact with the wallet UI without requiring a manual click on the extension icon.

Method name

open

Parameters

None

Examples

Example request

await window.LeatherProvider?.request("open");

Use case

Use the open method to initiate the Leather extension UI when your app needs the user’s attention—such as during onboarding, signing workflows, or error resolution—without requiring them to manually click the extension icon.

Sandbox

Try the open method live in this CodeSandbox testing environment: 👉 Open Sandbox