Class DelegateQuery
Rpc query to access contract data
Namespace: Netmavryk.Rpc.Queries
Assembly: Netmavryk.dll
Syntax
public class DelegateQuery : RpcObject
Properties
| Improve this Doc View SourceActiveStakingParameters
Returns the currently active staking parameters for the given delegate.
Declaration
public RpcObject ActiveStakingParameters { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
Balance
Gets the query to the full balance of a given delegate, including the frozen balances
Declaration
public RpcObject Balance { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
ConsensusKey
The active consensus key for a given delegate and the pending consensus keys.
Declaration
public RpcObject ConsensusKey { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
CurrentBakingPower
The baking power of a delegate, as computed from its current stake. This value is not used for computing baking rights but only reflects the baking power that the delegate would have if a snapshot was taken at the current block.
Declaration
public RpcObject CurrentBakingPower { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
CurrentFrozenDeposits
Returns the current amount of the frozen deposits (in mumav).
Declaration
public RpcObject CurrentFrozenDeposits { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
CurrentVotingPower
The voting power of a given delegate, as computed from its current stake.
Declaration
public RpcObject CurrentVotingPower { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
Deactivated
Gets the query to the flag, indicating whether the delegate is currently tagged as deactivated or not
Declaration
public RpcObject Deactivated { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
DelegatedBalance
Gets the query to the balances of all the contracts that delegate to a given delegate. This excludes the delegate's own balance and its frozen balances
Declaration
public RpcObject DelegatedBalance { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
DelegatedContracts
Gets the query to the list of contracts that delegate to a given delegate
Declaration
public RpcObject DelegatedContracts { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
FrozenBalance
Gets the query to the total frozen balances of a given delegate, this includes the frozen deposits, rewards and fees
Declaration
public RpcObject FrozenBalance { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
FrozenBalanceByCycle
Gets the query to the frozen balances of a given delegate, indexed by the cycle by which it will be unfrozen
Declaration
public RpcObject FrozenBalanceByCycle { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
FrozenDeposits
Returns the initial amount (that is, at the beginning of a cycle) of the frozen deposits (in mumav). This amount is the same as the current amount of the frozen deposits, unless the delegate has been punished.
Declaration
public RpcObject FrozenDeposits { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
FrozenDepositsLimit
Returns the frozen deposits limit for the given delegate or none if no limit is set.
Declaration
public RpcObject FrozenDepositsLimit { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
FullBalance
Gets the query to the full balance of a given delegate, including the frozen balances
Declaration
public RpcObject FullBalance { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
GracePeriod
Gets the query to the cycle by the end of which the delegate might be deactivated if he fails to execute any delegate action
Declaration
public RpcObject GracePeriod { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
Participation
Returns cycle and level participation information. In particular this indicates, in the field 'expected_cycle_activity', the number of slots the delegate is expected to have in the cycle based on its active stake. The field 'minimal_cycle_activity' indicates the minimal endorsing slots in the cycle required to get endorsing rewards. It is computed based on 'expected_cycle_activity. The fields 'missed_slots' and 'missed_levels' indicate the number of missed endorsing slots and missed levels (for endorsing) in the cycle so far. 'missed_slots' indicates the number of missed endorsing slots in the cycle so far. The field 'remaining_allowed_missed_slots' indicates the remaining amount of endorsing slots that can be missed in the cycle before forfeiting the rewards. Finally, 'expected_endorsing_rewards' indicates the endorsing rewards that will be distributed at the end of the cycle if activity at that point will be greater than the minimal required; if the activity is already known to be below the required minimum, then the rewards are zero.
Declaration
public RpcObject Participation { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
PendingStakingParameters
Returns the pending values for the given delegate's staking parameters.
Declaration
public RpcObject PendingStakingParameters { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
StakingBalance
Gets the query to the total amount of tokens delegated to a given delegate, including the balance of the delegate itself and its frozen fees and deposits
Declaration
public RpcObject StakingBalance { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
UnstakedFrozenDeposits
Returns, for each cycle, the sum of unstaked-but-frozen deposits for this cycle. Cycles go from the last unslashable cycle to the current cycle.
Declaration
public RpcObject UnstakedFrozenDeposits { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
VotingInfo
The number of rolls in the vote listings for a given delegate
Declaration
public RpcObject VotingInfo { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |
VotingPower
The number of rolls in the vote listings for a given delegate
Declaration
public RpcObject VotingPower { get; }
Property Value
| Type | Description |
|---|---|
| RpcObject |