MCPcopy Create free account
hub / github.com/dailydotdev/apps / getTransactionNote

Function getTransactionNote

packages/shared/src/lib/transaction.tsx:106–113  ·  view source on GitHub ↗
({
  transaction,
}: {
  transaction: UserTransaction;
})

Source from the content-addressed store, hash-verified

104};
105
106export const getTransactionNote = ({
107 transaction,
108}: {
109 transaction: UserTransaction;
110}): string | undefined =>
111 transaction.referenceType === UserTransactionType.User
112 ? transaction.flags.note
113 : undefined;
114
115export const coreApproxValueUSD = 100;

Callers 2

WalletFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected