Skip to content

Commit

Permalink
docs: added docstring to sendRealtimeTx
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabadesso committed Jan 24, 2025
1 parent 6aff08a commit f03f1de
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/daemon/src/utils/aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ export const invokeOnTxPushNotificationRequestedLambda = async (walletBalanceVal
}
}

/**
* Sends a message to the real-time wallet-service SQS queue.
*
* @param wallets - A list of wallets to notify
* @param tx - The transaction details to send to the clients
*/
export const sendRealtimeTx = async (wallets: string[], tx: Transaction): Promise<void> => {
const { NEW_TX_SQS } = getConfig();

Expand Down

0 comments on commit f03f1de

Please sign in to comment.