pub trait ResponseExt {
// Required methods
fn chain_id(&self) -> Option<CheckpointDigest>;
fn chain(&self) -> Option<&str>;
fn epoch(&self) -> Option<u64>;
fn checkpoint_height(&self) -> Option<u64>;
fn timestamp_ms(&self) -> Option<u64>;
fn lowest_available_checkpoint(&self) -> Option<u64>;
fn lowest_available_checkpoint_objects(&self) -> Option<u64>;
}
Expand description
Extension trait used to facilitate retrieval of Sui specific data from responses