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

# TransactionService

> Swift Protocol

**Protocol**

```swift theme={null}
protocol TransactionService : Sendable
```

## Instance Methods

### createTransaction(\_:)

```swift theme={null}
func createTransaction(_ request: CreateTransactionRequest) async throws(TransactionError) -> any TransactionApiModel
```

### fetchTransaction(\_:)

```swift theme={null}
func fetchTransaction(_ request: FetchTransactionRequest) async throws(TransactionError) -> any TransactionApiModel
```

### listTransactions(\_:)

```swift theme={null}
func listTransactions(_ request: ListTransactionsRequest) async throws(TransactionError) -> [Transaction]
```

### signTransaction(\_:)

```swift theme={null}
func signTransaction(_ request: SignRequest) async throws(TransactionError) -> any TransactionApiModel
```
