public static JObject DecodeCalldata(this FlatClient client, ILogger logger, string encodedValue, string sophiaReturnType) { // decode the result to json SophiaJsonData sophiaJsonData = client.DecodeCallData(encodedValue, sophiaReturnType); return(sophiaJsonData.Data as JObject); }