File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -641,9 +641,11 @@ function sendZkapp(
641641 * @returns A promise that resolves to an array of objects containing event data, block information and transaction information for the account.
642642 * @throws If the GraphQL request fails or the response is invalid.
643643 * @example
644+ * ```ts
644645 * const accountInfo = { publicKey: 'B62qiwmXrWn7Cok5VhhB3KvCwyZ7NHHstFGbiU5n7m8s2RqqNW1p1wF' };
645646 * const events = await fetchEvents(accountInfo);
646647 * console.log(events);
648+ * ```
647649 */
648650async function fetchEvents (
649651 accountInfo : { publicKey : string ; tokenId ?: string } ,
@@ -701,9 +703,11 @@ async function fetchEvents(
701703 * @throws Will throw an error if the GraphQL endpoint is invalid or if the fetch request fails.
702704 *
703705 * @example
706+ * ```ts
704707 * const accountInfo = { publicKey: 'B62qiwmXrWn7Cok5VhhB3KvCwyZ7NHHstFGbiU5n7m8s2RqqNW1p1wF' };
705708 * const actionsList = await fetchAccount(accountInfo);
706709 * console.log(actionsList);
710+ * ```
707711 */
708712async function fetchActions (
709713 accountInfo : ActionsQueryInputs ,
You can’t perform that action at this time.
0 commit comments