Kit
Type aliases

GetBlockProductionApi

GetBlockProductionApi = object

Methods

getBlockProduction()

Call Signature

getBlockProduction<TIdentity>(config): SolanaRpcResponse<GetBlockProductionApiResponse<BlockProductionWithSingleIdentity<TIdentity>>>

Returns a validator's leader slot count and the number of blocks it produced, in the given slot range

Type Parameters
Type Parameter
TIdentity extends Address
Parameters
ParameterType
configReadonly<{ commitment?: Commitment; range?: SlotRange; }> & Readonly<{ identity: TIdentity; }>
Returns

SolanaRpcResponse<GetBlockProductionApiResponse<BlockProductionWithSingleIdentity<TIdentity>>>

See

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

Call Signature

getBlockProduction(config?): SolanaRpcResponse<GetBlockProductionApiResponse<BlockProductionWithAllIdentities>>

Returns each validator's leader slot count and the number of blocks they produced, in the given slot range

Parameters
ParameterType
config?Readonly<{ commitment?: Commitment; range?: SlotRange; }>
Returns

SolanaRpcResponse<GetBlockProductionApiResponse<BlockProductionWithAllIdentities>>

See

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

On this page