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

# 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

| Property     | Type                                 | Description                       |
| ------------ | ------------------------------------ | --------------------------------- |
| `approvals`  | `Approvals?`                         | -                                 |
| `createdAt`  | `Date`                               | -                                 |
| `error`      | `TransactionErrorApiModel?`          | -                                 |
| `id`         | `String`                             | Inherited from `Identifiable.id`. |
| `onChain`    | `EVMTransactionApiModel.OnChainData` | -                                 |
| `params`     | `EVMTransactionApiModel.Params`      | -                                 |
| `status`     | `TransactionStatusApiModel`          | -                                 |
| `walletType` | `WalletType`                         | -                                 |

## Instance Methods

### toDomain()

Inherited from `TransactionApiModel.toDomain()`.

```swift theme={null}
func toDomain() -> Transaction
```
