# KeyAuthorization.toRpcUnsigned

Converts unsigned authorization fields to RPC before owner signing.

## Imports

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

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

## Examples

```ts
import { KeyAuthorization } from 'ox/tempo'

const authorization = KeyAuthorization.toRpcUnsigned({
  address: '0x2222222222222222222222222222222222222222',
  chainId: 1n,
  type: 'secp256k1',
})
```

## Definition

```ts
function toRpcUnsigned(
  authorization: Omit<KeyAuthorization<false, Hex.Hex | bigint | number, Hex.Hex | number>, 'signature'>,
): UnsignedRpc
```

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

## Parameters

### authorization

* **Type:** `Omit<KeyAuthorization<false, Hex.Hex | bigint | number, Hex.Hex | number>, 'signature'>`

## Return Type

`UnsignedRpc`
