com.binance4j.pay.client.PayMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of binance4j-pay Show documentation
Show all versions of binance4j-pay Show documentation
Connector for the pay endpoints of the Binance API
package com.binance4j.pay.client;
import java.util.Map;
import com.binance4j.core.client.RestMapping;
import com.binance4j.pay.dto.TradeHistory;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Headers;
import retrofit2.http.QueryMap;
/** The {@link PayClient} mapping. */
public interface PayMapping extends RestMapping {
/** The base uri. */
String BASE = "/sapi/v1/pay/";
/**
* @param map The query map.
* @return The generated Retrofit call.
*/
@GET(BASE + "transactions")
@Headers(SIGNED_H)
Call getTrades(@QueryMap Map map);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy