(value: number | string)
| 54 | }; |
| 55 | |
| 56 | export const formatAmount = (value: number | string): string => { |
| 57 | return new Intl.NumberFormat("en-US").format(+value); |
| 58 | }; |
| 59 | |
| 60 | export function isValidTransactionHash(txHash: string): boolean { |
| 61 | // A valid transaction hash is a hex string of length 66 characters (including the '0x' prefix) |
nothing calls this directly
no outgoing calls
no test coverage detected