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.getValidatorInfo(address)
Get detailed information about a specific validator.getValidatorStakers(address)
Get the list of delegators staked to a validator (in proximity order).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.getEstimatedDelegatorReward(address delegator, address validator)
Calculate estimated rewards for a delegator (including proximity and tax effects).Network State Queries
totalNetworkStake()
Get the total amount of FEN staked across all validators.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.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