> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://v3.viem.sh/api/mcp` to find what you need.

# Signature.fromRecoveredBytes

:::info
`Signature.fromRecoveredBytes` is a re-export of ox's [`Signature.fromRecoveredBytes`](https://oxlib.sh/api/Signature/fromRecoveredBytes). Refer to the ox documentation for the full reference.
:::

Decodes a 65-byte recovered byte representation (`yParity ++ r ++ s`, big-endian) into a [`Signature.Signature`](/docs/utilities/signature/types#signature).

## Imports

```ts
import { Signature } from 'viem/utils'
```

## Examples

```ts twoslash
// @noErrors
import { Signature } from 'viem/utils'

const signature = Signature.fromRecoveredBytes(
  new Uint8Array(65)
)
// @log: { r: '0x00...0000', s: '0x00...0000', yParity: 0 }
```

## Definition

```ts
function fromRecoveredBytes(
  bytes: Bytes.Bytes,
): Signature
```

## Parameters

### bytes

* **Type:** `Bytes.Bytes`

The 65-byte recovered representation.

## Return Type

The decoded [`Signature.Signature`](/docs/utilities/signature/types#signature).

`Signature`
