sendTransfer API method

The

May 14, 2025

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

[Unsupported block type: code]

Example response

[Unsupported block type: code]

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

Disclaimer

Leather does not verify the accuracy of transfer requests. Developers must ensure transaction details are correct before submission.