fromJson

fun fromJson(json: JsonObject): Sep30SignatureResponse

Parses a JSON object into a Sep30SignatureResponse.

The JSON must contain signature and network_passphrase fields.

JSON Field Mapping

  • signature ->signature (required)

  • network_passphrase ->networkPassphrase (required)

Return

The parsed signature response

Parameters

json

The JSON object returned by the recovery server

Throws

if any required field is missing