ethers.js/lib.commonjs/utils/uuid.d.ts
2023-02-02 22:04:33 -05:00

8 lines
246 B
TypeScript

import type { BytesLike } from "./index.js";
/**
* Returns the version 4 [[link-uuid]] for the %%randomBytes%%.
*
* @see: https://www.ietf.org/rfc/rfc4122.txt (Section 4.4)
*/
export declare function uuidV4(randomBytes: BytesLike): string;