Rosetta_models.Construction_preprocess_requesttype t = {network_identifier : Network_identifier.t; |
operations : Operation.t list; |
metadata : Yojson.Safe.t option; |
}val to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unitval show : t -> Ppx_deriving_runtime.stringval create : Network_identifier.t -> Operation.t list -> tConstructionPreprocessRequest is passed to the `/construction/preprocess` endpoint so that a Rosetta implementation can determine which metadata it needs to request for construction. Metadata provided in this object should NEVER be a product of live data (i.e. the caller must follow some network-specific data fetching strategy outside of the Construction API to populate required Metadata). If live data is required for construction, it MUST be fetched in the call to `/construction/metadata`.