BitTap Documentation
  • About BitTap
  • Wallet Product
    • Custodial vs. Non-Custodial
    • Off-Chain Proof
    • Get Started
    • Privacy Policy
  • DEX PRODUCT
    • Overview
  • Developer Guides
    • Overview
    • API Reference
      • CreateWallet
      • NewAddr
      • DecodeAddr
      • QueryAddrs
      • ImportAsset
      • QueryAssetStat
      • ListAssetHistory
      • Estimate-tx-fee
      • GetAssetBalance
      • GetBtcBalance
      • 💎SendAsset
        • TransferAsset
        • AnchorVirtualPsbt
        • PublishTransfer
      • 💎SendBtc
        • TransferBtc
        • PublishTransferBtc
    • JS SDK
Powered by GitBook
On this page
  1. Developer Guides
  2. API Reference

SendBtc

Sending BTC requires 2 rounds of communication between wallet and bittapd, because bittapd needs end users to sign only once.

Step1: TransferBtc

Wallet calls this to transfer BTC to a specific address. Psbt is returned for the end user's sign.

Step 2: PublishTransferBtc

The end user will sign the psbt returned from Step 1, and before call this to broadcast to BTC blockchain, the signed psbt needs to be finalized and extracted.

PreviousPublishTransferNextTransferBtc

Last updated 11 months ago

💎