> ## Documentation Index
> Fetch the complete documentation index at: https://cobo.com/developers/llms.txt
> Use this file to discover all available pages before exploring further.

# List pending transactions

> This operation retrieves a list of all pending transactions.

<Tip>
  Try [Cobo WaaS Skill](/v2/guides/overview/cobo-waas-skill) in your AI coding assistant (Claude Code, Cursor, etc.). Describe your needs in natural language to auto-generate production-ready SDK code and debug faster 🚀
</Tip>

<CodeGroup>
  ```Swift iOS theme={null}
  public func listPendingTransactions() async throws -> [Transaction]
  ```

  ```Dart Flutter theme={null}
  Future<List<Transaction>> listPendingTransactions() async
  ```
</CodeGroup>

<RequestExample>
  ```Swift iOS theme={null}
  Task {
      do {
          if let transactions = try await sdkInstance?.listPendingTransactions() {
              for transaction in transactions {
                  print("\(transaction)\n")
              }
          } else {
              print("No pending transactions found")
          }
      } catch {
          print("Error: \(error)")
      }
  }
  ```

  ```Dart Flutter theme={null}
  try {
      final transactions = await sdkInstance?.listPendingTransactions();
      for (final transaction in transactions) {
          print("$transaction\n");
      }
  } catch (error) {
      print("Error: $error");
  }
  ```
</RequestExample>

## Response

<ResponseField name="transactions" type="object[]">
  The list of pending transactions.

  <Expandable title="child attributes">
    <Snippet file="ucw_transaction_snippet.mdx" />
  </Expandable>
</ResponseField>
