Home > @holochain/client > fakeActionHash
Generate a valid hash of a non-existing action.
Signature:
export declare function fakeActionHash(coreByte?: number | undefined): Promise<ActionHash>;
Parameter |
Type |
Description |
---|---|---|
coreByte |
number | undefined |
(Optional) Optionally specify a byte to repeat for all core 32 bytes. If undefined will generate random core 32 bytes. |
Promise<ActionHash>
An ActionHash.