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

# SolanaTransactionApiModel

> Swift Structure

**Structure**

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

## Structures

### SolanaTransactionApiModel.FeeConfig

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

### SolanaTransactionApiModel.OnChainData

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

### SolanaTransactionApiModel.Params

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

### SolanaTransactionApiModel.SendParams

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

### SolanaTransactionApiModel.SolanaApprovalEntry

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

### SolanaTransactionApiModel.SolanaApprovals

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

### SolanaTransactionApiModel.SolanaSubmittedApprovalEntry

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

## 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: SolanaTransactionApiModel.SolanaApprovals?
```

### chainType

```swift theme={null}
let chainType: String?
```

### 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: SolanaTransactionApiModel.OnChainData
```

### params

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

### sendParams

```swift theme={null}
let sendParams: SolanaTransactionApiModel.SendParams?
```

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