Skip to main content
Try 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 🚀
public func listPendingTransactions() async throws -> [Transaction]
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)")
    }
}

Response

transactions
object[]
The list of pending transactions.