# signPsbt

**Method**

```javascript
async function signPsbt(psbt: string): { signed: string } // hex encoded psbt
```

**Response**

An object including the signed transaction in hex format

```
{signed: '<signed Psbt hex>'}
```

**Code Example**

```javascript
const result = await window.webbtc.signPsbt(psbt)
```
