VoteNotificationsApi: {
    voteNotifications(
        NO_CONFIG?: Record<string, never>,
    ): Readonly<
        {
            hash: Blockhash;
            signature: Signature;
            slots: readonly Slot[];
            timestamp: UnixTimestamp
            | null;
            votePubkey: Address;
        },
    >;
}

Type declaration

  • voteNotifications:function
    • Subscribe to receive a notification from the validator on a variety of updates on every slot

      Parameters

      • OptionalNO_CONFIG: Record<string, never>

      Returns Readonly<
          {
              hash: Blockhash;
              signature: Signature;
              slots: readonly Slot[];
              timestamp: UnixTimestamp
              | null;
              votePubkey: Address;
          },
      >