# Function: bigintToString()

> **bigintToString**(`value`): `string`

Defined in: [packages/bitbadgesjs-sdk/src/transactions/precompile/helpers.ts:123](https://github.com/BitBadges/bitbadgesjs/blob/master/packages/bitbadgesjs-sdk/src/transactions/precompile/helpers.ts#L123)

Convert a bigint value to string for JSON serialization

## Parameters

### value

`string` \| `number` \| `bigint` \| `null` \| `undefined`

The value to convert (bigint, string, or number)

## Returns

`string`

String representation of the value
