# Authorization.toRpcList

Converts an [`Authorization.List`](/api/Authorization/types#list) to an [`Authorization.ListRpc`](/api/Authorization/types#listrpc).

## Imports

:::code-group
```ts [Named]
import { Authorization } from 'ox'
```

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

## Examples

```ts twoslash
import { Authorization } from 'ox'

const authorization = Authorization.toRpcList([
  {
    address: '0x0000000000000000000000000000000000000000',
    chainId: 1,
    nonce: 1n,
    r: '0x635dc2033e60185bb36709c29c75d64ea51dfbd91c32ef4be198e4ceb169fb4d',
    s: '0x50c2667ac4c771072746acfdcf1f1483336dcca8bd2df47cd83175dbe60f0540',
    yParity: 0
  }
])
```

## Definition

```ts
function toRpcList(
  authorizationList: toRpcList.Input,
): ListRpc
```

**Source:** [src/core/Authorization.ts](https://github.com/wevm/ox/blob/main/src/core/Authorization.ts#L659)

## Parameters

### authorizationList

* **Type:** `toRpcList.Input`

An Authorization List.

## Return Type

An RPC-formatted Authorization List.

[`ListRpc`](/api/Authorization/types#authorizationlistrpc)
