ApprovalRequest

data class ApprovalRequest(val method: String, val category: ApprovalCategory, val params: JsonObject)

Data describing a write operation awaiting user approval.

Designed to carry enough info for the app-layer UI to render a rich approval screen (amounts, recipients, privacy status, risk level) without coupling the SDK to specific UI decisions.

Constructors

Link copied to clipboard
constructor(method: String, category: ApprovalCategory, params: JsonObject)

Properties

Link copied to clipboard

The risk/impact category for UI treatment

Link copied to clipboard

The JSON-RPC method name (e.g., "makeTransfer", "signData")

Link copied to clipboard
val params: JsonObject

The raw JSON-RPC params — UI can extract display details