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
The list containing the IDs of the transactions to be rejected.
The detailed explanation for why the transactions are being rejected.