You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add getInflationRate endpoint that returns the actual rate of inflation (total/validator/foundation) for the given epoch (or the current epoch if unspecified)
The text was updated successfully, but these errors were encountered:
The
getInflation
RPC endpoint blindly returns:solana/sdk/src/inflation.rs
Lines 5 to 23 in 58ef02f
thus forcing the client to implement methods like:
solana/sdk/src/inflation.rs
Lines 68 to 70 in 58ef02f
Suggestion:
getInflation
endpointgetInflationGovernor
endpoint(like https://docs.solana.com/apps/jsonrpc-api#getfeerategovernor) that returns the currentgetInflation
data (minus the.storage
field, cc: Deal with misleading storage rewards in Inflation struct #10092)getInflationRate
endpoint that returns the actual rate of inflation (total/validator/foundation) for the given epoch (or the current epoch if unspecified)The text was updated successfully, but these errors were encountered: