Struct terra_rust_api::client::tendermint::Tendermint [−][src]
pub struct Tendermint<'a> { /* fields omitted */ }
Implementations
get the latest block
get a block at a specific height
pub async fn validatorsets(
&self,
page: usize,
limit: usize
) -> Result<LCDResult<ValidatorSetResult>>
pub async fn validatorsets(
&self,
page: usize,
limit: usize
) -> Result<LCDResult<ValidatorSetResult>>
get the latest validatorset @warn the maximum limit (at time of development is 100)
get the latest full validatorset
pub async fn validatorsets_full_at_height(
&self,
height: u64
) -> Result<LCDResult<ValidatorSetResult>>
pub async fn validatorsets_full_at_height(
&self,
height: u64
) -> Result<LCDResult<ValidatorSetResult>>
get the full validatorset at a certain height
pub async fn validatorsets_at_height(
&self,
height: u64,
page: usize,
limit: usize
) -> Result<LCDResult<ValidatorSetResult>>
pub async fn validatorsets_at_height(
&self,
height: u64,
page: usize,
limit: usize
) -> Result<LCDResult<ValidatorSetResult>>
get a validatorset at a specific height @warn the maximum limit (at time of development is 100)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Tendermint<'a>
impl<'a> Send for Tendermint<'a>
impl<'a> Sync for Tendermint<'a>
impl<'a> Unpin for Tendermint<'a>
impl<'a> !UnwindSafe for Tendermint<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more