pub struct Validator {
Show 23 fields pub account_address: Address, pub operator_address: Address, pub consensus_pubkey: String, pub rank: u64, pub bonded_height: Height, pub bonded_time: Time, pub jailed: bool, pub status: u64, pub tokens: Amount, pub delegator_shares: String, pub moniker: Moniker, pub identity: String, pub website: String, pub details: String, pub unbonding_height: Height, pub unbonding_time: Time, pub rate: Rate, pub max_rate: Rate, pub max_change_rate: Rate, pub update_time: Time, pub uptime: Summary, pub min_self_delegation: Amount, pub keybase_url: String,
}
Expand description

/v1/staking/validator endpoint.

Fields

account_address: Address

Account address.

operator_address: Address

Operator address.

consensus_pubkey: String

Consensus public key (Bech32)

rank: u64

Validator rank.

bonded_height: Height

Bonded height.

bonded_time: Time

Bonded time.

jailed: bool

Is this validator jailed?

status: u64

Validator status.

tokens: Amount

Tokens.

delegator_shares: String

Delegator shares.

moniker: Moniker

Validator moniker.

identity: String

Validator identity.

website: String

Validator web site.

details: String

Validator details.

unbonding_height: Height

Unbonding height.

unbonding_time: Time

Unbonding time.

rate: Rate

Validator commission rate.

max_rate: Rate

Maximum validator commission rate.

max_change_rate: Rate

Maximum rate at which validator commission can be changed.

update_time: Time

Time when the validator was updated.

uptime: Summary

Uptime summary.

min_self_delegation: Amount

Minimum self-delegation.

keybase_url: String

Keybase URL.

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