UNPKG

@airgap/coinlib-core

Version:

The @airgap/coinlib-core is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.

12 lines (11 loc) 323 B
export interface RandomSource { /** * Returns the availability of random source. * A source can only be used if isAvailable returns true. */ isAvailable: boolean; /** * Returns a byte array of the given length filled with random bytes. */ randomBytes(length: number): Uint8Array; }