Skip to main content

suix_getValidatorsApy RPC Method

Return the validator APY.

Updated on
Dec 10, 2024

suix_getValidatorsApy RPC Method

Parameters

This method does not accept any parameters

Returns

result
object
APYs and epoch information
apys
array
List of APY (Annual Percentage Yield) details for various addresses
address
string
The unique address for which the APY is calculated
apy
integer
The APY value as a decimal (e.g., 0.06 represents 6%)
epoch
string
The epoch associated with the APY calculations
Request
1
curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "suix_getValidatorsApy",
7
"params": []
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free