# toUnshieldedUtxos

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

[**Midnight.js API Reference v4.1.0**](https://docs.midnight.network/api-reference/midnight-js.md)

***

[Midnight.js API Reference](https://docs.midnight.network/api-reference/midnight-js/packages.md) / [@midnight-ntwrk/midnight-js-indexer-public-data-provider](https://docs.midnight.network/api-reference/midnight-js/@midnight-ntwrk/midnight-js-indexer-public-data-provider.md) / toUnshieldedUtxos

# Function: toUnshieldedUtxos()

> **toUnshieldedUtxos**(`createdUtxo`, `spentUtxo`): `UnshieldedUtxos`

## Parameters[​](#parameters "Direct link to Parameters")

### createdUtxo[​](#createdutxo "Direct link to createdUtxo")

readonly [`IndexerUtxo`](https://docs.midnight.network/api-reference/midnight-js/@midnight-ntwrk/midnight-js-indexer-public-data-provider/type-aliases/IndexerUtxo.md)\[]

### spentUtxo[​](#spentutxo "Direct link to spentUtxo")

readonly [`IndexerUtxo`](https://docs.midnight.network/api-reference/midnight-js/@midnight-ntwrk/midnight-js-indexer-public-data-provider/type-aliases/IndexerUtxo.md)\[]

## Returns[​](#returns "Direct link to Returns")

`UnshieldedUtxos`
