@@ -134,7 +134,7 @@ internal async static Task<MarketRentResponseModel> GetMarketplace(int maxPrice,
134
134
{
135
135
try
136
136
{
137
- var url = "https://www.starsharks.com/go/api/market/sharks" ;
137
+ var url = $ "https://www.starsharks.com/go/api/market/sharks?nonce= { Global . Nonce ( ) } ";
138
138
var httpRequestMessage = new HttpRequestMessage ( HttpMethod . Post , url ) ;
139
139
//httpRequestMessage.Headers.Authorization = new AuthenticationHeaderValue("Bearer", account.JWTToken);
140
140
var req = new MarketRentRequestModel ( ) ;
@@ -187,7 +187,7 @@ internal async static Task<MarketRentResponseModel> GetMarketplace(int maxPrice,
187
187
}
188
188
internal async static Task < WithdrawResponseModel > GetSharkWithdrawInfo ( AccountModel account )
189
189
{
190
- var url = "https://www.starsharks.com/go/auth-api/account/withdraw-sea-v2" ;
190
+ var url = $ "https://www.starsharks.com/go/auth-api/account/withdraw-sea-v2?nonce= { Global . Nonce ( ) } ";
191
191
var sharkResp = new WithdrawResponseModel ( ) ;
192
192
//Global.HTTPCLIENT
193
193
var httpRequestMessage = new HttpRequestMessage ( HttpMethod . Post , url ) ;
@@ -211,7 +211,7 @@ internal async static Task<RentModel> GetSharkRentInfo(AccountModel account, int
211
211
{
212
212
var sharkResp = new RentModel ( ) ;
213
213
//Global.HTTPCLIENT
214
- var httpRequestMessage = new HttpRequestMessage ( HttpMethod . Post , "https://www.starsharks.com/go/auth-api/market/rent-in" ) ;
214
+ var httpRequestMessage = new HttpRequestMessage ( HttpMethod . Post , $ "https://www.starsharks.com/go/auth-api/market/rent-in?nonce= { Global . Nonce ( ) } ") ;
215
215
httpRequestMessage . Headers . Authorization = new AuthenticationHeaderValue ( "Bearer" , account . WebsiteToken ) ;
216
216
httpRequestMessage . Content = new StringContent ( JsonConvert . SerializeObject ( new { shark_id = sharkId } ) , Encoding . UTF8 , "application/json" ) ;
217
217
var client = Global . HTTPCLIENT ;
@@ -245,7 +245,7 @@ public static async Task<Dictionary<int, SharkModel>> GetSharkDetails(IEnumerabl
245
245
246
246
public static async Task < SharkModel > GetSharkDetail ( int sharkId )
247
247
{
248
- var uri = $ "https://www.starsharks.com/go/api/market/shark-detail?shark_id={ sharkId } ";
248
+ var uri = $ "https://www.starsharks.com/go/api/market/shark-detail?shark_id={ sharkId } &nonce= { Global . Nonce ( ) } ";
249
249
var httpRequestMessage = new HttpRequestMessage ( HttpMethod . Get , uri ) ;
250
250
var client = Global . HTTPCLIENT ;
251
251
{
0 commit comments