GetBlockProductionApi
Methods
getBlockProduction()
Call Signature
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
| Parameter | Type |
|---|---|
config | Readonly<{ commitment?: Commitment; range?: SlotRange; }> & Readonly<{ identity: TIdentity; }> |
Returns
SolanaRpcResponse<GetBlockProductionApiResponse<BlockProductionWithSingleIdentity<TIdentity>>>
See
https://solana.com/docs/rpc/http/getblockproduction
Call Signature
Returns each validator's leader slot count and the number of blocks they produced, in the given slot range
Parameters
| Parameter | Type |
|---|---|
config? | Readonly<{ commitment?: Commitment; range?: SlotRange; }> |
Returns
SolanaRpcResponse<GetBlockProductionApiResponse<BlockProductionWithAllIdentities>>