var jcore = this.UI.Resolve<JCoreClient>();

var resp = await jcore.GatewayAsync(/*some request*/);
if (resp.IsFailed)
{
    return;
}