AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     


getSlotLeaders RPC Method

The API credit value for this method is 1 per block. For example, if 5 blocks are accessed, the total credit value would be 1 x 5 which results in a total API credit value of 5. To learn more about API credits and each method's value, visit the API Credits page.


  1. start_slot - string - The start slot encoded as u64, 64-bit unsigned integer
  2. limit - string - The limit encoded as u64, 64-bit unsigned integer


  1. result - The slot leaders for the specified slot range

Code Examples:

const web3 = require("@solana/web3.js");
(async () => {
  const solana = new web3.Connection("http://sample-endpoint-name.network.quiknode.pro/token-goes-here/");
  console.log(await solana.getSlotLeaders(140630426, 10));
Ready to get started? Create a free account