@solana/rpc-api
Version:
Defines all default Solana RPC methods as types
21 lines • 733 B
TypeScript
import type { F64UnsafeSeeDocumentation } from '@solana/rpc-types';
type GetInflationRateApiResponse = Readonly<{
/** Epoch for which these values are valid */
epoch: bigint;
/** Inflation allocated to the foundation */
foundation: F64UnsafeSeeDocumentation;
/** Total inflation */
total: F64UnsafeSeeDocumentation;
/** Inflation allocated to validators */
validator: F64UnsafeSeeDocumentation;
}>;
export type GetInflationRateApi = {
/**
* Returns the specific inflation values for the current epoch.
*
* @see https://solana.com/docs/rpc/http/getinflationrate
*/
getInflationRate(): GetInflationRateApiResponse;
};
export {};
//# sourceMappingURL=getInflationRate.d.ts.map