# UnshieldedTransaction

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

A transaction that created and/or spent UTXOs alongside these and other information.

```
type UnshieldedTransaction {

  transaction: Transaction!

  createdUtxos: [UnshieldedUtxo!]!

  spentUtxos: [UnshieldedUtxo!]!

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`UnshieldedTransaction.transaction`](#transaction) ● [`Transaction!`](https://docs.midnight.network/api-reference/midnight-indexer/types/interfaces/transaction.md) non-null interface[​](#transaction "Direct link to transaction")

The transaction that created and/or spent UTXOs.

#### [`UnshieldedTransaction.createdUtxos`](#created-utxos) ● [`[UnshieldedUtxo!]!`](https://docs.midnight.network/api-reference/midnight-indexer/types/objects/unshielded-utxo.md) non-null object[​](#created-utxos "Direct link to created-utxos")

UTXOs created in the above transaction, possibly empty.

#### [`UnshieldedTransaction.spentUtxos`](#spent-utxos) ● [`[UnshieldedUtxo!]!`](https://docs.midnight.network/api-reference/midnight-indexer/types/objects/unshielded-utxo.md) non-null object[​](#spent-utxos "Direct link to spent-utxos")

UTXOs spent in the above transaction, possibly empty.

### Implemented By[​](#implemented-by "Direct link to Implemented By")

[`UnshieldedTransactionsEvent`](https://docs.midnight.network/api-reference/midnight-indexer/types/unions/unshielded-transactions-event.md) union
