# AbiConstructor.format

Formats an [`AbiConstructor.AbiConstructor`](/api/AbiConstructor/types#abiconstructor) into a **Human Readable ABI Function**.

## Imports

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

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

## Examples

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

const formatted = AbiConstructor.format({
  inputs: [{ name: 'owner', type: 'address' }],
  payable: false,
  stateMutability: 'nonpayable',
  type: 'constructor'
})

formatted
//    ^?
```

## Definition

```ts
function format(
  abiConstructor: AbiConstructor,
): string
```

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

## Parameters

### abiConstructor

* **Type:** `AbiConstructor`

The ABI Constructor to format.

## Return Type

The formatted ABI Constructor.

`string`
