Introduction
Learn about the Leather API
Last updated
Learn about the Leather API
Last updated
Leather empowers developers to build apps with the Bitcoin and Stacks blockchains, tapping into the multilayered Bitcoin economy.
Connect and interact with user wallets via the Leather browser extension using our suite of simple JavaScript methods.
The Leather extension injects a global object that can be used to call its API.
Look for the presence of LeatherProvider
to see if the Leather is installed:
This object implements the .request
method standard from Modern Wallet APIs proposal.
Simply provide the method name and any necessary parameters, such as sendTransfer
for sending Bitcoin: