iotax namespace.
iotax_getStakes
Return all DelegatedStake objects for an address.The owner’s IOTA address
List of delegated stakes
cURL
iotax_getStakesByIds
Return one or more DelegatedStake objects by their staked IOTA IDs.List of staked IOTA object IDs
cURL
iotax_getTimelockedStakes
Return all DelegatedTimelockedStake objects for an address.The owner’s IOTA address
List of timelocked delegated stakes
cURL
iotax_getTimelockedStakesByIds
Return one or more DelegatedTimelockedStake objects by their timelocked staked IOTA IDs.List of timelocked staked IOTA object IDs
cURL
iotax_getCommitteeInfo
Return the committee information for the asked epoch.The epoch of interest. If None, defaults to the latest epoch
The epoch number
List of validators in the committee
cURL
iotax_getLatestIotaSystemStateV2
Return the latest IOTA system state object.The current epoch
The current protocol version
The system state version
Total supply of IOTA
The treasury cap object ID
Current storage rebate
List of active validators
ID for pending active validators table
Number of pending active validators
ID for staking pool mappings table
Number of staking pool mappings
ID for inactive pools table
Number of inactive pools
ID for validator candidates table
Number of validator candidates
cURL
iotax_getReferenceGasPrice
Return the reference gas price for the network.The reference gas price in NANOS
cURL
iotax_getValidatorsApy
Return the validator APY (Annual Percentage Yield) information.List of validator APY information
The epoch for which APY is calculated
cURL
Staking Workflow
Typical staking operations involve:- Query Validators - Use
iotax_getLatestIotaSystemStateV2to get validator information - Check APY - Use
iotax_getValidatorsApyto compare validator rewards - Stake IOTA - Build and execute a staking transaction
- Monitor Stakes - Use
iotax_getStakesto track your delegated stakes - Unstake - Build and execute an unstaking transaction when desired
Understanding Epochs
IOTA’s staking system operates on epochs:- Staking requests become active in the next epoch
- Unstaking requests are processed at epoch boundaries
- Rewards are calculated and distributed per epoch
- Use
iotax_getCommitteeInfoto query historical epoch data