# AuthorizationTempo.fromTuple

Converts an [`AuthorizationTempo.Tuple`](/tempo/reference/AuthorizationTempo/types#tuple) to an [`AuthorizationTempo.AuthorizationTempo`](/tempo/reference/AuthorizationTempo/types#authorizationtempo).

## Imports

:::code-group
```ts [Named]
import { AuthorizationTempo } from 'ox/tempo'
```

```ts [Entrypoint]
import * as AuthorizationTempo from 'ox/tempo/AuthorizationTempo'
```
:::

## Examples

```ts twoslash
import { AuthorizationTempo } from 'ox/tempo'

const authorization = AuthorizationTempo.fromTuple([
  '0x1',
  '0xbe95c3f554e9fc85ec51be69a3d807a0d55bcf2c',
  '0x3'
])
// @log: {
// @log:   address: '0xbe95c3f554e9fc85ec51be69a3d807a0d55bcf2c',
// @log:   chainId: 1,
// @log:   nonce: 3n
// @log: }
```

It is also possible to append a serialized SignatureEnvelope to the end of an AA Authorization tuple.

```ts twoslash
import { AuthorizationTempo } from 'ox/tempo'

const authorization = AuthorizationTempo.fromTuple([
  '0x1',
  '0xbe95c3f554e9fc85ec51be69a3d807a0d55bcf2c',
  '0x3',
  '0x01a068a020a209d3d56c46f38cc50a33f704f4a9a10a59377f8dd762ac66910e9b907e865ad05c4035ab5792787d4a0297a43617ae897930a6fe4d822b8faea52064'
])
// @log: {
// @log:   address: '0xbe95c3f554e9fc85ec51be69a3d807a0d55bcf2c',
// @log:   chainId: 1,
// @log:   nonce: 3n
// @log:   signature: {
// @log:     r: '0x68a020a209d3d56c46f38cc50a33f704f4a9a10a59377f8dd762ac66910e9b90',
// @log:     s: '0x7e865ad05c4035ab5792787d4a0297a43617ae897930a6fe4d822b8faea52064',
// @log:     yParity: 0,
// @log:   },
// @log: }
```

## Definition

```ts
function fromTuple<tuple>(
  tuple: tuple,
): fromTuple.ReturnType<tuple>
```

**Source:** [src/tempo/AuthorizationTempo.ts](https://github.com/wevm/ox/blob/main/src/tempo/AuthorizationTempo.ts#L954)

## Parameters

### tuple

* **Type:** `tuple`

The [EIP-7702](https://eips.ethereum.org/EIPS/eip-7702) AA Authorization tuple.

## Return Type

The [`AuthorizationTempo.AuthorizationTempo`](/tempo/reference/AuthorizationTempo/types#authorizationtempo).

`fromTuple.ReturnType<tuple>`
