GetEpochInfoApi: {
    getEpochInfo(
        config?: Readonly<{ commitment?: Commitment; minContextSlot?: Slot }>,
    ): Readonly<
        {
            absoluteSlot: Slot;
            blockHeight: bigint;
            epoch: bigint;
            slotIndex: bigint;
            slotsInEpoch: bigint;
            transactionCount: bigint
            | null;
        },
    >;
}

Type declaration

  • getEpochInfo:function
    • Returns the balance of the account of provided Pubkey

      Parameters

      Returns Readonly<
          {
              absoluteSlot: Slot;
              blockHeight: bigint;
              epoch: bigint;
              slotIndex: bigint;
              slotsInEpoch: bigint;
              transactionCount: bigint
              | null;
          },
      >