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

# EVMTransactionApiModel

> Swift Structure

**Structure**

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

## Structures

### EVMTransactionApiModel.Call

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

### EVMTransactionApiModel.OnChainData

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

### EVMTransactionApiModel.Params

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

### EVMTransactionApiModel.UserOperation

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

## Initializers

### init(from:)

Inherited from `Decodable.init(from:)`.

```swift theme={null}
init(from decoder: any Decoder) throws
```

## Instance Properties

### approvals

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

### createdAt

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

### error

```swift theme={null}
let error: TransactionErrorApiModel?
```

### id

Inherited from `Identifiable.id`.

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

### onChain

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

### params

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

### status

```swift theme={null}
let status: TransactionStatusApiModel
```

### walletType

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

## Instance Methods

### toDomain(withService:)

Inherited from `TransactionApiModel.toDomain(withService:)`.

```swift theme={null}
func toDomain(withService service: any SmartWalletService) -> Transaction?
```
