Overview
Fenines Network supports all standard Ethereum JSON-RPC methods. This page focuses on usingeth_call to query the FenineSystem smart contract.
For complete Ethereum JSON-RPC documentation, see the Ethereum JSON-RPC Specification.
System Contract Queries
The FenineSystem contract at0x0000000000000000000000000000000000001000 exposes view functions that can be queried using eth_call.
Query Pattern
All queries follow this pattern:Validator Queries
getActiveValidators()
Get the list of currently active validators.string
Function selector:
0x9de70258 (no parameters)bytes
ABI-encoded array of validator addresses. Decode as
address[].getValidatorInfo(address)
Get detailed information about a specific validator.string
0xb5d89627address
required
Validator address (32-byte padded)
tuple
Returns:
getValidatorStakers(address)
Get the list of delegators staked to a validator (in proximity order).string
Function selector for
getValidatorStakers(address)address[]
Array of delegator addresses in proximity order (first staker = deepest in chain)
The order matters for proximity rewards. Earlier addresses in the array are deeper in the referral chain.
Delegator Queries
getDelegatorInfo(address delegator, address validator)
Get information about a delegator’s stake with a specific validator.string
0xa993683ftuple
getEstimatedDelegatorReward(address delegator, address validator)
Calculate estimated rewards for a delegator (including proximity and tax effects).tuple
Network State Queries
totalNetworkStake()
Get the total amount of FEN staked across all validators.string
0x635c8637uint256
Total staked amount in wei
getCurrentEpoch()
Get the current epoch number.getNextEpochReward()
Get the contract balance (reward pool for next epoch distribution).Proximity Configuration
getProximityConfig()
Get the current proximity reward distribution configuration.tuple
Using Web3 Libraries
- ethers.js
- viem
Function Selectors Reference
For a complete list of function selectors, see the Quick Reference page.
Next Steps
Smart Contract Reference
Full FenineSystem contract documentation
Quick Reference
Common queries and selectors