pub struct Status {
Show 14 fields pub chain_id: Id, pub block_height: Height, pub block_time: f64, pub total_txs_num: u64, pub total_validator_num: u64, pub unjailed_validator_num: u64, pub jailed_validator_num: u64, pub total_supply_tokens: Supply, pub total_circulating_tokens: Supply, pub bonded_tokens: u64, pub not_bonded_tokens: u64, pub inflation: String, pub community_pool: Vec<Coin>, pub timestamp: Time,
}
Expand description

/v1/status endpoint.

Fields

chain_id: Id

Chain ID

block_height: Height

Block height.

block_time: f64

Block time in seconds.

total_txs_num: u64

Total number of transactions.

total_validator_num: u64

Total number of validators.

unjailed_validator_num: u64

Number of unjailed validators.

jailed_validator_num: u64

Number of jailed validators.

total_supply_tokens: Supply

Total supply of tokens.

total_circulating_tokens: Supply

Total circulating tokens.

bonded_tokens: u64

Number of bonded tokens.

not_bonded_tokens: u64

Number of tokens not bonded.

inflation: String

Inflation.

community_pool: Vec<Coin>

Community pool.

timestamp: Time

Timestamp.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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