pub struct GetUpdatesRequest {
pub begin_exclusive: i64,
pub end_inclusive: Option<i64>,
pub filter: Option<Box<TransactionFilter>>,
pub verbose: bool,
pub update_format: Option<Box<UpdateFormat>>,
}
Fields§
§begin_exclusive: i64
Beginning of the requested ledger section (non-negative integer). The response will only contain transactions whose offset is strictly greater than this. If zero, the stream will start from the beginning of the ledger. If positive, the streaming will start after this absolute offset. If the ledger has been pruned, this parameter must be specified and be greater than the pruning offset.
end_inclusive: Option<i64>
End of the requested ledger section. The response will only contain transactions whose offset is less than or equal to this. Optional, if empty, the stream will not terminate. If specified, the stream will terminate after this absolute offset (positive integer) is reached.
filter: Option<Box<TransactionFilter>>
§verbose: bool
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. If enabled, values served over the API will contain more information than strictly necessary to interpret the data. In particular, setting the verbose flag to true triggers the ledger to include labels, record and variant type ids for record fields. Optional for backwards compatibility, if defined update_format must be unset
update_format: Option<Box<UpdateFormat>>
Implementations§
Source§impl GetUpdatesRequest
impl GetUpdatesRequest
pub fn new(begin_exclusive: i64, verbose: bool) -> GetUpdatesRequest
Trait Implementations§
Source§impl Clone for GetUpdatesRequest
impl Clone for GetUpdatesRequest
Source§fn clone(&self) -> GetUpdatesRequest
fn clone(&self) -> GetUpdatesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more