fromJson

fun fromJson(json: JsonObject): Sep31FeeDetails

Parses a SEP-31 fee_details JSON object into a Sep31FeeDetails.

Return

The parsed fee breakdown.

Parameters

json

The fee_details JSON object from a transaction response.

Throws

if total or asset is missing or the body is malformed.