Skip to main content

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.

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 getTransactions(transactionIDs: [String]) async throws -> [Transaction]
let transactionIDs = ["transaction_id_01"]

Task {
    do {
        if let transactions = try await sdkInstance?.getTransactions(transactionIDs: transactionIDs) {
            for transaction in transactions {
                print("\(transaction)\n")
            }
        } else {
            print("No transactions found")
        }
    } catch {
        print("Error: \(error)")
    }
}

Parameters

transactionIDs
string[]
The list containing the IDs of the transactions to be retrieved.

Response

transactions
object[]
The list of retrieved transactions.