Interface OrderRequestServiceAsync
-
- All Implemented Interfaces:
public interface OrderRequestServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceOrderRequestServiceAsync.WithRawResponseA view of OrderRequestServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract OrderRequestServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract OrderRequestServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
eip155
abstract Eip155ServiceAsync eip155()
-
retrieve
CompletableFuture<OrderRequest> retrieve(String orderRequestId, OrderRequestRetrieveParams params)
Get a specific
OrderRequestby its ID.
-
retrieve
CompletableFuture<OrderRequest> retrieve(String orderRequestId, OrderRequestRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<OrderRequest> retrieve(OrderRequestRetrieveParams params)
-
retrieve
abstract CompletableFuture<OrderRequest> retrieve(OrderRequestRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<OrderRequest>> list(String accountId)
Lists
OrderRequests.<br>OptionallyOrderRequestscan be filtered by certain parameters.
-
list
CompletableFuture<List<OrderRequest>> list(String accountId, OrderRequestListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<OrderRequest>> list(String accountId, OrderRequestListParams params)
-
list
abstract CompletableFuture<List<OrderRequest>> list(OrderRequestListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<OrderRequest>> list(OrderRequestListParams params)
-
list
CompletableFuture<List<OrderRequest>> list(String accountId, RequestOptions requestOptions)
-
createLimitBuy
CompletableFuture<OrderRequest> createLimitBuy(String accountId, OrderRequestCreateLimitBuyParams params)
Create a managed
OrderRequestto place a limit buyOrder.Fees for the
Orderare included in the transaction. Refer to our Fee Quote API for fee estimation.If an
OrderRequestwith the sameclient_order_idalready exists for the given account, the creation call will fail.
-
createLimitBuy
CompletableFuture<OrderRequest> createLimitBuy(String accountId, OrderRequestCreateLimitBuyParams params, RequestOptions requestOptions)
-
createLimitBuy
CompletableFuture<OrderRequest> createLimitBuy(OrderRequestCreateLimitBuyParams params)
-
createLimitBuy
abstract CompletableFuture<OrderRequest> createLimitBuy(OrderRequestCreateLimitBuyParams params, RequestOptions requestOptions)
-
createLimitSell
CompletableFuture<OrderRequest> createLimitSell(String accountId, OrderRequestCreateLimitSellParams params)
Create a managed
OrderRequestto place a limit sellOrder.Fees for the
Orderare included in the transaction. Refer to our Fee Quote API for fee estimation.If an
OrderRequestwith the sameclient_order_idalready exists for the given account, the creation call will fail.
-
createLimitSell
CompletableFuture<OrderRequest> createLimitSell(String accountId, OrderRequestCreateLimitSellParams params, RequestOptions requestOptions)
-
createLimitSell
CompletableFuture<OrderRequest> createLimitSell(OrderRequestCreateLimitSellParams params)
-
createLimitSell
abstract CompletableFuture<OrderRequest> createLimitSell(OrderRequestCreateLimitSellParams params, RequestOptions requestOptions)
-
createMarketBuy
CompletableFuture<OrderRequest> createMarketBuy(String accountId, OrderRequestCreateMarketBuyParams params)
Create a managed
OrderRequestto place a market buyOrder.Fees for the
Orderare included in the transaction. Refer to our Fee Quote API for fee estimation.If an
OrderRequestwith the sameclient_order_idalready exists for the given account, the creation call will fail.
-
createMarketBuy
CompletableFuture<OrderRequest> createMarketBuy(String accountId, OrderRequestCreateMarketBuyParams params, RequestOptions requestOptions)
-
createMarketBuy
CompletableFuture<OrderRequest> createMarketBuy(OrderRequestCreateMarketBuyParams params)
-
createMarketBuy
abstract CompletableFuture<OrderRequest> createMarketBuy(OrderRequestCreateMarketBuyParams params, RequestOptions requestOptions)
-
createMarketSell
CompletableFuture<OrderRequest> createMarketSell(String accountId, OrderRequestCreateMarketSellParams params)
Create a managed
OrderRequestto place a market sellOrder.Fees for the
Orderare included in the transaction. Refer to our Fee Quote API for fee estimation.If an
OrderRequestwith the sameclient_order_idalready exists for the given account, the creation call will fail.
-
createMarketSell
CompletableFuture<OrderRequest> createMarketSell(String accountId, OrderRequestCreateMarketSellParams params, RequestOptions requestOptions)
-
createMarketSell
CompletableFuture<OrderRequest> createMarketSell(OrderRequestCreateMarketSellParams params)
-
createMarketSell
abstract CompletableFuture<OrderRequest> createMarketSell(OrderRequestCreateMarketSellParams params, RequestOptions requestOptions)
-
getFeeQuote
CompletableFuture<OrderRequestGetFeeQuoteResponse> getFeeQuote(String accountId, OrderRequestGetFeeQuoteParams params)
Get fee quote data for an
Order Request. This is provided primarily for informational purposes.For market buy orders, the notional amount of the order includes the fees. For market and limit sell orders, fees are deducted from the proceeds of the sale. For limit buy orders, the fees are added to the total cost of the order.
-
getFeeQuote
CompletableFuture<OrderRequestGetFeeQuoteResponse> getFeeQuote(String accountId, OrderRequestGetFeeQuoteParams params, RequestOptions requestOptions)
-
getFeeQuote
CompletableFuture<OrderRequestGetFeeQuoteResponse> getFeeQuote(OrderRequestGetFeeQuoteParams params)
-
getFeeQuote
abstract CompletableFuture<OrderRequestGetFeeQuoteResponse> getFeeQuote(OrderRequestGetFeeQuoteParams params, RequestOptions requestOptions)
-
-
-
-