# TransactionResult

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

The result of applying a transaction to the ledger state. In case of a partial success (status), there will be segments.

```
type TransactionResult {

  status: TransactionResultStatus!

  segments: [Segment!]

}
```

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

#### [`TransactionResult.status`](#status) ● [`TransactionResultStatus!`](https://docs.midnight.network/api-reference/midnight-indexer/types/enums/transaction-result-status.md) non-null enum[​](#status "Direct link to status")

#### [`TransactionResult.segments`](#segments) ● [`[Segment!]`](https://docs.midnight.network/api-reference/midnight-indexer/types/objects/segment.md) list object[​](#segments "Direct link to segments")

### Member Of[​](#member-of "Direct link to Member Of")

[`RegularTransaction`](https://docs.midnight.network/api-reference/midnight-indexer/types/objects/regular-transaction.md) object
