# bigIntMax | @aa-sdk/core

> Overview of the bigIntMax function from @aa-sdk/core

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function bigIntMax(...args): bigint;
```

Defined in: [aa-sdk/core/src/utils/bigint.ts:11](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/utils/bigint.ts#L11)

Returns the max bigint in a list of bigints

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        ...`args`
      </td>

      <td>
        `bigint`\[]
      </td>

      <td>
        a list of bigints to get the max of
      </td>
    </tr>

  </tbody>
</table>

## Returns

`bigint`

the max bigint in the list