# SignatureEnvelope.fromRpc

Converts an RPC-formatted signature envelope to a typed signature envelope.

## Imports

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

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

## Examples

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

const envelope = SignatureEnvelope.fromRpc({
  r: '0x0',
  s: '0x0',
  yParity: '0x0',
  type: 'secp256k1'
})
```

## Definition

```ts
function fromRpc(
  envelope: SignatureEnvelopeRpc,
): SignatureEnvelope
```

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

## Parameters

### envelope

* **Type:** [`SignatureEnvelopeRpc`](/tempo/reference/SignatureEnvelope/types#signatureenvelopesignatureenveloperpc)

The RPC signature envelope to convert.

## Return Type

The signature envelope with bigint values.

`SignatureEnvelope`
