> **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.

# AccessList.toTupleList

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

Converts a structured Access List into a list of tuples.

## Imports

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

## Examples

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

const accessList = AccessList.toTupleList([
  {
    address: '0x0000000000000000000000000000000000000000',
    storageKeys: [
      '0x0000000000000000000000000000000000000000000000000000000000000001',
      '0x60fdd29ff912ce880cd3edaf9f932dc61d3dae823ea77e0323f94adb9f6a72fe'
    ]
  }
])
// @log: [
// @log:   [
// @log:     '0x0000000000000000000000000000000000000000',
// @log:     [
// @log:       '0x0000000000000000000000000000000000000000000000000000000000000001',
// @log:       '0x60fdd29ff912ce880cd3edaf9f932dc61d3dae823ea77e0323f94adb9f6a72fe',
// @log:     ],
// @log:   ],
// @log: ]
```

## Definition

```ts
function toTupleList(
  accessList?: AccessList,
): Compute<Tuple>
```

## Parameters

### accessList

* **Type:** `AccessList`
* **Optional**

Access list.

#### accessList.address

* **Type:** `abitype_Address`

#### accessList.storageKeys

* **Type:** `readonly 0x${string}[]`

## Return Type

List of tuples.

`Compute<Tuple>`
