Swap tokens
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Managing.Infrastructure.Evm.Models.Proxy;
|
||||
|
||||
/// <summary>
|
||||
/// Response model for GMX swap operations
|
||||
/// </summary>
|
||||
public class GmxSwapResponse : Web3ProxyBaseResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// Transaction hash if successful
|
||||
/// </summary>
|
||||
[JsonProperty("hash")]
|
||||
[JsonPropertyName("hash")]
|
||||
public string Hash { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Success message
|
||||
/// </summary>
|
||||
[JsonProperty("message")]
|
||||
[JsonPropertyName("message")]
|
||||
public string Message { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Error type if failed
|
||||
/// </summary>
|
||||
[JsonProperty("errorType")]
|
||||
[JsonPropertyName("errorType")]
|
||||
public string ErrorType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Suggestion for error resolution
|
||||
/// </summary>
|
||||
[JsonProperty("suggestion")]
|
||||
[JsonPropertyName("suggestion")]
|
||||
public string Suggestion { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user