Skip to main content
POST
getDelegatorInfo

Overview

Queries the FenineSystem contract to get detailed information about a delegator’s stake with a specific validator, including stake amount, pending rewards, and position in the proximity chain.

Contract Call Details

address
required
0x0000000000000000000000000000000000001000 (FenineSystem)
bytes
required
Function selector: 0xa993683f + ABI-encoded (delegator address, validator address)
address
required
The delegator address to query
address
required
The validator address

Response

uint8
Delegator status:
  • 0: NOT_EXIST (never staked)
  • 1: ACTIVE (currently staking)
  • 2: UNSTAKING (withdrawal in progress)
uint256
Delegator’s stake amount in wei
uint256
Accumulated pending rewards in wei
uint256
Block number when delegator first staked
uint256
Position in validator’s proximity chain (0-based)

Examples

Use Cases

Proximity Position

The stakerIndex field indicates your position in the validator’s proximity chain:

Status Lifecycle

getEstimatedDelegatorReward

Preview rewards before claiming

getValidatorStakers

See all delegators (proximity order)

getValidatorInfo

Get validator details