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 rejectTransactions(transactionIDs: [String], reason: String) throws
let transactionIDs = ["transaction_id_01"]
let reason = "Insufficient funds"

do {
    try sdkInstance?.rejectTransactions(transactionIDs: transactionIDs, reason: reason)
} catch {
    print("Error: \(error)")
}

Parameters

transactionIDs
string[]
The list containing the IDs of the transactions to be rejected.
reason
string
The detailed explanation for why the transactions are being rejected.