Sep30ResponseSigner

data class Sep30ResponseSigner(val key: String)

Represents a signer in a SEP-30 account recovery response.

Each signer corresponds to a Stellar public key that the recovery server controls and can use to sign recovery transactions after successful identity authentication. Signers are ordered from most recently added to least recently added.

Usage

val json = Json.parseToJsonElement(responseBody).jsonObject
val signer = Sep30ResponseSigner.fromJson(json)
println("Signer key: ${signer.key}")

Example JSON

{ "key": "GADF..." }

See also

Constructors

Link copied to clipboard
constructor(key: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val key: String

The Stellar public key (G... address) of the recovery signer