> ## Documentation Index
> Fetch the complete documentation index at: https://crossmint-devin-1787949784-wallet-docs-two-concept-model.mintlify.site/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(id:status:onChain:params:walletType:createdAt:approvals:error:)

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

## Instance Properties

| Property      | Type                      | Description                                           |
| ------------- | ------------------------- | ----------------------------------------------------- |
| `approvals`   | `Transaction.Approvals?`  | -                                                     |
| `createdAt`   | `Date`                    | -                                                     |
| `description` | `String`                  | Inherited from `CustomStringConvertible.description`. |
| `error`       | `Transaction.Error?`      | -                                                     |
| `id`          | `String`                  | -                                                     |
| `onChain`     | `Transaction.OnChainData` | -                                                     |
| `params`      | `Transaction.Params`      | -                                                     |
| `status`      | `Transaction.Status`      | -                                                     |
| `walletType`  | `WalletType`              | -                                                     |

## Type Aliases

### Transaction.Status

```swift theme={null}
typealias Status = TransactionStatus
```
