ethers.js/lib.commonjs/utils/uuid.d.ts

8 lines
246 B
TypeScript
Raw Permalink Normal View History

2023-03-03 18:25:07 -07:00
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;