GetEpochInfoApi

type GetEpochInfoApi = object;

Methods

getEpochInfo()

getEpochInfo(config?): GetEpochInfoApiResponse;

Returns information about the current epoch.

Parameters

ParameterType
config?Readonly<{ commitment?: Commitment; minContextSlot?: Slot; }>

Returns

GetEpochInfoApiResponse

See

https://solana.com/docs/rpc/http/getepochinfo

On this page