> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# transferDevice

> Function transferDevice in the Baileys API.

> **transferDevice**(`fromJid`, `toJid`): `string`

Defined in: [src/WABinary/jid-utils.ts:123](https://github.com/WhiskeySockets/Baileys/blob/master/src/WABinary/jid-utils.ts#L123)

## Parameters

### fromJid

`string`

### toJid

`string`

## Returns

`string`
