getBlockProduction - Solana
Example code for the getBlockProduction json-rpc method. Сomplete guide on how to use getBlockProduction json-rpc in GetBlock.io Web3 documentation.
Parameters
Config
- object
Optional.
Configuration object containing the following optional fields: - Commitment (optional) - range: object - Slot range to return block production for. If parameter not provided, defaults to current epoch. - firstSlot: u64 - first slot to return block production information for (inclusive) - lastSlot: u64 (optional) - last slot to return block production information for (inclusive). If parameter not provided, defaults to the highest slot - identity: string (optional) - Only return results for this validator identity (base-58 encoded)
Request
Response
Last updated