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

# SenderChainKey

> Protobuf class SenderChainKey generated from WAProto.

Defined in: [WAProto/index.d.ts:10808](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10808)

## Implements

* [`ISenderChainKey`](/proto-reference/SenderKeyStateStructure/interfaces/ISenderChainKey)

## Constructors

### new SenderChainKey()

> **new SenderChainKey**(`p`?): [`SenderChainKey`](/proto-reference/SenderKeyStateStructure/classes/SenderChainKey)

Defined in: [WAProto/index.d.ts:10809](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10809)

#### Parameters

##### p?

[`ISenderChainKey`](/proto-reference/SenderKeyStateStructure/interfaces/ISenderChainKey)

#### Returns

[`SenderChainKey`](/proto-reference/SenderKeyStateStructure/classes/SenderChainKey)

## Properties

### iteration?

> `optional` **iteration**: `null` | `number`

Defined in: [WAProto/index.d.ts:10810](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10810)

#### Implementation of

[`ISenderChainKey`](/proto-reference/SenderKeyStateStructure/interfaces/ISenderChainKey).[`iteration`](/proto-reference/SenderKeyStateStructure/interfaces/ISenderChainKey#iteration)

***

### seed?

> `optional` **seed**: `null` | `Uint8Array`\<`ArrayBufferLike`>

Defined in: [WAProto/index.d.ts:10811](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10811)

#### Implementation of

[`ISenderChainKey`](/proto-reference/SenderKeyStateStructure/interfaces/ISenderChainKey).[`seed`](/proto-reference/SenderKeyStateStructure/interfaces/ISenderChainKey#seed)

## Methods

### create()

> `static` **create**(`properties`?): [`SenderChainKey`](/proto-reference/SenderKeyStateStructure/classes/SenderChainKey)

Defined in: [WAProto/index.d.ts:10812](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10812)

#### Parameters

##### properties?

[`ISenderChainKey`](/proto-reference/SenderKeyStateStructure/interfaces/ISenderChainKey)

#### Returns

[`SenderChainKey`](/proto-reference/SenderKeyStateStructure/classes/SenderChainKey)

***

### decode()

> `static` **decode**(`r`, `l`?): [`SenderChainKey`](/proto-reference/SenderKeyStateStructure/classes/SenderChainKey)

Defined in: [WAProto/index.d.ts:10814](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10814)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`SenderChainKey`](/proto-reference/SenderKeyStateStructure/classes/SenderChainKey)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:10813](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10813)

#### Parameters

##### m

[`ISenderChainKey`](/proto-reference/SenderKeyStateStructure/interfaces/ISenderChainKey)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`SenderChainKey`](/proto-reference/SenderKeyStateStructure/classes/SenderChainKey)

Defined in: [WAProto/index.d.ts:10815](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10815)

#### Parameters

##### d

#### Returns

[`SenderChainKey`](/proto-reference/SenderKeyStateStructure/classes/SenderChainKey)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:10818](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10818)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:10817](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10817)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:10816](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L10816)

#### Parameters

##### m

[`SenderChainKey`](/proto-reference/SenderKeyStateStructure/classes/SenderChainKey)

##### o?

`IConversionOptions`

#### Returns

`object`
