4 lines
115 B
TypeScript
4 lines
115 B
TypeScript
export const hashFromTx = (
|
|
txHash: string | Uint8Array
|
|
): string => `0x${Buffer.from(txHash).toString('hex')}`;
|