# getAddress

**Method**

```javascript
async function getAddress(): {
  address: string,
  derivationPath: string,
  index: number,
  publicKey: string
}
```

**Response**

The first address of your bitcoin account generated by your master key, including the public key, index and derivation path.

**Code Example**

```javascript
await window.webbtc.enable();
const address = await window.webbtc.getAddress();
```
