pub struct DepthRequest {
pub start_slot: u64,
pub end_slot: u64,
pub source: DepthSource,
pub granularity: DepthGranularity,
pub markets: Vec<String>,
pub program_overrides: Vec<ProgramOverride>,
pub account_overrides: AccountModifications,
}Expand description
Request body of POST /generate-depth.
Sessions start and stop at snapshot boundaries, so the captured range can extend beyond
start_slot/end_slot; DepthStatusResponse::capture reports the range actually captured.
A range with no bundles first waits for them to build.
Fields§
§start_slot: u64First slot requested, inclusive; the capture may start earlier. Each row is filed under the UTC date its slot falls on.
end_slot: u64Last slot requested, inclusive; the capture may end later.
source: DepthSourceWhich side of the venue to measure. The two sources publish separate datasets over the same range.
granularity: DepthGranularity§markets: Vec<String>Market ids to sample. Empty samples every market in the source’s universe.
program_overrides: Vec<ProgramOverride>Programs the probes run in place of the deployed ones. onchain only.
account_overrides: AccountModificationsAccounts every probe sees in place of the recorded ones, across the whole range.
onchain only.