V1.Notional_volume
val request_of_yojson :
Yojson.Safe.t ->
request Ppx_deriving_yojson_runtime.error_or
val notional_1d_volume_to_yojson : notional_1d_volume -> Yojson.Safe.t
val notional_1d_volume_of_yojson :
Yojson.Safe.t ->
notional_1d_volume Ppx_deriving_yojson_runtime.error_or
val sexp_of_notional_1d_volume : notional_1d_volume -> Sexplib0.Sexp.t
val notional_1d_volume_of_sexp : Sexplib0.Sexp.t -> notional_1d_volume
type response = {
last_updated_ms : Timestamp.Ms.t;
web_maker_fee_bps : int64;
web_taker_fee_bps : int64;
web_auction_fee_bps : int64;
api_maker_fee_bps : int64;
api_taker_fee_bps : int64;
api_auction_fee_bps : int64;
fix_maker_fee_bps : int64;
fix_taker_fee_bps : int64;
fix_auction_fee_bps : int64;
block_maker_fee_bps : int64;
block_taker_fee_bps : int64;
date : string;
notional_30d_volume : float;
notional_1d_volume : notional_1d_volume list;
}
include Rest.Operation.S
with type request := request
with type response := response
val request_to_yojson : request -> Yojson.Safe.t
val sexp_of_request : request -> Sexplib0.Sexp.t
val request_of_sexp : Sexplib0.Sexp.t -> request
val response_of_yojson :
Yojson.Safe.t ->
response Ppx_deriving_yojson_runtime.error_or
val sexp_of_response : response -> Sexplib0.Sexp.t
val response_of_sexp : Sexplib0.Sexp.t -> response
val post :
(module Cfg.S) ->
Nonce.reader ->
request ->
[ Rest.Error.post | `Ok of response ] Async.Deferred.t