Skip to content

x/delegation — Delegation module

The x/delegation module manages how token holders place stake with validators without running infrastructure themselves: delegating, redelegating between validators, unbonding, and collecting the delegator share of rewards net of validator commission.

Delegation grants voting weight, not custody — tokens remain the delegator’s throughout. The module gives staking-as-a-service partners a complete on-chain lifecycle to build client offerings on.

The module covers the delegator’s side of staking end to end. A holder delegates bonded stake to a validator of their choice, earns the delegator share of block, VEID, and uptime rewards minus the validator’s commission, moves stake between validators by redelegating, and exits through unbonding when done.

Every operation is an on-chain object with queries behind it: delegations, unbonding entries, redelegations, historical and claimable rewards, validator shares, and slashing events. Staking-as-a-service partners get a complete lifecycle to build on — delegate, move, exit, and claim are all first-class messages rather than off-chain bookkeeping.

Most token holders will never run a validator, but the network still needs their stake bonded for security. A first-class delegation lifecycle turns passive holders into security contributors — and spreads stake across more validators, strengthening the Nakamoto coefficient.

ConceptDefinition
DelegationBonding your tokens to a validator’s stake in exchange for a share of its rewards.
CommissionThe validator’s percentage cut of rewards before the delegator share is distributed.
RedelegationMoving bonded stake between validators without a full unbonding cycle.
  1. Delegate — Bond to a validator. Choose on quality — uptime, self-bond, commission, governance participation — and delegate.
  2. Earn — Collect net of commission. The delegator share of block, VEID, and uptime rewards arrives minus the validator’s cut.
  3. Move — Redelegate freely. Shift bonded stake between validators without sitting out a full unbonding cycle.
  4. Exit — Unbond when done. Twenty-one days, no earnings, still slashable for prior offenses — plan exits around the window.
MessagePurpose
MsgDelegateBonds tokens from a delegator to a validator.
MsgUndelegateBegins unbonding bonded stake from a validator.
MsgRedelegateMoves bonded stake from one validator to another.
MsgClaimRewardsClaims delegator rewards from a single position.
MsgClaimAllRewardsClaims delegator rewards across all of a delegator’s positions.
MsgUpdateParamsGovernance-only update of module parameters.
QueryPurpose
DelegationsBonded stake, viewed per delegation or per validator.
DelegationA single delegation record.
DelegatorDelegationsEvery delegation made by one delegator.
ValidatorDelegationsEvery delegation placed on one validator.
UnbondingStake currently in the exit window.
UnbondingDelegationA single unbonding delegation record.
DelegatorUnbondingDelegationsAll unbonding delegations of one delegator.
RedelegationsStake moving between validators.
RedelegationA single redelegation record.
RedelegationsAll redelegations in progress.
DelegatorRedelegationsRedelegations initiated by one delegator.
RewardsThe delegator share of rewards.
HistoricalRewardsHistorical reward rates recorded for a delegation.
DelegatorRewardsClaimable rewards for one delegator.
DelegatorAllRewardsClaimable rewards across every position of a delegator.
Shares & slashingDelegation accounting and penalties.
ValidatorSharesDelegation shares held on a validator.
SlashingEventsSlashing events affecting delegations.
ParamsCurrent module parameters.
ModuleHow they interact
x/stakingDelegated stake bonds to validators and weights consensus power.
x/veidDelegators share in validator income that includes VEID rewards.

Bonding your tokens to a validator’s stake in exchange for a share of its rewards — the way most holders participate in security.

The validator’s percentage cut of rewards before the delegator share is distributed. Low commission means little if uptime is poor — select on quality first.

Moving bonded stake between validators without a full unbonding cycle — repositioning without the 21-day wait. See the x/staking module.