Skip to content

Commit 5ef0bdc

Browse files
committed
update doc comments
1 parent 67d9570 commit 5ef0bdc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/mina/fetch.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
*/
648650
async 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
*/
708712
async function fetchActions(
709713
accountInfo: ActionsQueryInputs,

0 commit comments

Comments
 (0)