> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction

> Kotlin Data Class

**Data Class**

```kotlin theme={null}
data class Transaction(val id: String, val status: TransactionStatus, val onChain: OnChainData, val params: TransactionParams, val walletType: WalletType, val createdAt: Long, val approvals: Approvals?, val error: TransactionErrorDetails?)
```

## Constructors

```kotlin theme={null}
constructor(id: String, status: TransactionStatus, onChain: OnChainData, params: TransactionParams, walletType: WalletType, createdAt: Long, approvals: Approvals?, error: TransactionErrorDetails?)
```

## Properties

### approvals

```kotlin theme={null}
val approvals: Approvals?
```

### createdAt

```kotlin theme={null}
val createdAt: Long
```

### error

```kotlin theme={null}
val error: TransactionErrorDetails?
```

### id

```kotlin theme={null}
val id: String
```

### onChain

```kotlin theme={null}
val onChain: OnChainData
```

### params

```kotlin theme={null}
val params: TransactionParams
```

### status

```kotlin theme={null}
val status: TransactionStatus
```

### walletType

```kotlin theme={null}
val walletType: WalletType
```
