Request the signature and broadcast of a Bitcoin transaction with one or more recipients using a selected account from the user's Leather wallet.
Method name
sendTransfer
Parameters
recipients
: Array of amounts to transfer by recipient address (required)network
: Network for signing: mainnet, testnet, signet, sbtcDevenv or devnet (required)account
: Index of account for signing (optional — defaults to active account)
Examples
Example request
Example response
Use case
Use sendTransfer
to automate and simplify user-initiated Bitcoin transactions from a Leather-connected app, especially for multi-recipient use cases or integrated payment workflows.
Sandbox
Try the sendTransfer method live in this CodeSandbox testing environment: 👉 Open Sandbox