TrustTokenOperationDoneParameter

@Serializable
data class TrustTokenOperationDoneParameter(val status: String, val type: Network.TrustTokenOperationType, val requestId: String, val topLevelOrigin: String? = null, val issuerOrigin: String? = null, val issuedTokenCount: Int? = null)

Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.

Constructors

Link copied to clipboard
constructor(status: String, type: Network.TrustTokenOperationType, requestId: String, topLevelOrigin: String? = null, issuerOrigin: String? = null, issuedTokenCount: Int? = null)

Properties

Link copied to clipboard
val issuedTokenCount: Int? = null

The number of obtained Trust Tokens on a successful "Issuance" operation.

Link copied to clipboard
val issuerOrigin: String? = null

Origin of the issuer in case of a "Issuance" or "Redemption" operation.

Link copied to clipboard
Link copied to clipboard

Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit).

Link copied to clipboard
val topLevelOrigin: String? = null

Top level origin. The context in which the operation was attempted.

Link copied to clipboard