@@ -55,6 +55,11 @@ export type FetchClosedOnlyModeError =
5555 * Fetches whether the account is restricted to closed-only trading.
5656 *
5757 * @throws {@link FetchClosedOnlyModeError }
58+ *
59+ * @example
60+ * ```ts
61+ * const closedOnly = await fetchClosedOnlyMode(client);
62+ * ```
5863 */
5964export async function fetchClosedOnlyMode (
6065 client : SecureClient ,
@@ -164,6 +169,13 @@ export type FetchOrderError =
164169 * Fetches a single order for the authenticated account.
165170 *
166171 * @throws {@link FetchOrderError }
172+ *
173+ * @example
174+ * ```ts
175+ * const order = await fetchOrder(client, {
176+ * orderId: '123',
177+ * });
178+ * ```
167179 */
168180export async function fetchOrder (
169181 client : SecureClient ,
@@ -283,6 +295,11 @@ export type DropNotificationsRequest = z.input<
283295 * Fetches notifications for the authenticated account.
284296 *
285297 * @throws {@link FetchNotificationsError }
298+ *
299+ * @example
300+ * ```ts
301+ * const notifications = await fetchNotifications(client);
302+ * ```
286303 */
287304export async function fetchNotifications (
288305 client : SecureClient ,
@@ -470,6 +487,13 @@ export type FetchOrderScoringError =
470487 * Fetches whether a single order is currently scoring.
471488 *
472489 * @throws {@link FetchOrderScoringError }
490+ *
491+ * @example
492+ * ```ts
493+ * const scoring = await fetchOrderScoring(client, {
494+ * orderId: '123',
495+ * });
496+ * ```
473497 */
474498export async function fetchOrderScoring (
475499 client : SecureClient ,
@@ -506,6 +530,13 @@ export type FetchOrdersScoringError =
506530 * Fetches scoring state for multiple orders.
507531 *
508532 * @throws {@link FetchOrdersScoringError }
533+ *
534+ * @example
535+ * ```ts
536+ * const scoring = await fetchOrdersScoring(client, {
537+ * orderIds: ['1', '2'],
538+ * });
539+ * ```
509540 */
510541export async function fetchOrdersScoring (
511542 client : SecureClient ,
@@ -623,6 +654,13 @@ export type FetchTotalEarningsForUserForDayError =
623654 * Fetches total earnings for the authenticated account on a given day.
624655 *
625656 * @throws {@link FetchTotalEarningsForUserForDayError }
657+ *
658+ * @example
659+ * ```ts
660+ * const earnings = await fetchTotalEarningsForUserForDay(client, {
661+ * date: '2026-04-16',
662+ * });
663+ * ```
626664 */
627665export async function fetchTotalEarningsForUserForDay (
628666 client : SecureClient ,
@@ -746,6 +784,11 @@ export type FetchRewardPercentagesError =
746784 * Fetches reward percentages for the authenticated account.
747785 *
748786 * @throws {@link FetchRewardPercentagesError }
787+ *
788+ * @example
789+ * ```ts
790+ * const percentages = await fetchRewardPercentages(client);
791+ * ```
749792 */
750793export async function fetchRewardPercentages (
751794 client : SecureClient ,
0 commit comments