> ## 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

> Swift Structure

**Structure**

```swift theme={null}
struct Transaction
```

## Structures

### Transaction.Approvals

```swift theme={null}
struct Approvals
```

### Transaction.Call

```swift theme={null}
struct Call
```

### Transaction.Error

```swift theme={null}
struct Error
```

### Transaction.FeeConfig

```swift theme={null}
struct FeeConfig
```

### Transaction.OnChainData

```swift theme={null}
struct OnChainData
```

### Transaction.Params

```swift theme={null}
struct Params
```

### Transaction.UserOperation

```swift theme={null}
struct UserOperation
```

## Initializers

### init(smartWalletService:id:status:onChain:params:walletType:createdAt:approvals:error:)

```swift theme={null}
init(smartWalletService: any SmartWalletService, id: String, status: Transaction.Status, onChain: Transaction.OnChainData, params: Transaction.Params, walletType: WalletType, createdAt: Date, approvals: Transaction.Approvals?, error: Transaction.Error?)
```

## Instance Properties

### approvals

```swift theme={null}
let approvals: Transaction.Approvals?
```

### createdAt

```swift theme={null}
let createdAt: Date
```

### description

Inherited from `CustomStringConvertible.description`.

```swift theme={null}
var description: String { get }
```

### error

```swift theme={null}
let error: Transaction.Error?
```

### id

```swift theme={null}
let id: String
```

### onChain

```swift theme={null}
let onChain: Transaction.OnChainData
```

### params

```swift theme={null}
let params: Transaction.Params
```

### status

```swift theme={null}
let status: Transaction.Status
```

### walletType

```swift theme={null}
let walletType: WalletType
```

## Enumerations

### Transaction.Status

```swift theme={null}
enum Status
```
