Skip to content

Latest commit

 

History

History
55 lines (27 loc) · 912 Bytes

client.fakeactionhash.md

File metadata and controls

55 lines (27 loc) · 912 Bytes

Home > @holochain/client > fakeActionHash

fakeActionHash() function

Generate a valid hash of a non-existing action.

Signature:

export declare function fakeActionHash(coreByte?: number | undefined): Promise<ActionHash>;

Parameters

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.

**Returns:**

Promise<ActionHash>

An ActionHash.