# Sending BTC

Since creating PSBTs from scratch can be rather intensive, the ME wallet exposes a simple method on the provider called `sendBtcTransaction` to facilitate the basic request of sending bitcoin to another address.

In pattern with the previous methods, the ME provider extends [Sats Connect](https://docs.xverse.app/sats-connect-v1/methods/sendbtctransaction) to ensure a clear format to send BTC.

```typescript
import { sendBtcTransaction, BitcoinNetworkType } from "sats-connect";

// in a real app, you'll use the ME 'payment' address returned after a connection
const nativeSegwitAddress = 'bc1qcdmvsc8qqk8sr2st3mttu6fsmfrjzh5xrf4dch'
const recipientAddress = 'dummyAddress'

await sendBtcTransaction({
  payload: {
    network: {
      type: BitcoinNetworkType.Mainnet,
    },
    recipients: [
      {
        address: recipientAddress!,
        amountSats: BigInt(1500),
      },
    ],
    senderAddress: nativeSegwitAddress!,
  },
  onFinish: (response) => {
    alert(response);
  },
  onCancel: () => alert("Canceled"),
});
```

This will prompt the user to send the specified amount of sats to the `recipientAddress`&#x20;

<figure><img src="https://3057797283-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUE3YlWFGNzodYaTOyoul%2Fuploads%2FAup8hhOy8Uf8retx6k4o%2FScreenshot%202024-07-08%20at%2012.23.42%E2%80%AFPM.png?alt=media&#x26;token=72a22db7-3cb0-4dbc-a097-5d0eb0a39cf5" alt=""><figcaption></figcaption></figure>
