Skip to main content

Validate Outcome

Maps an already-computed fair hash into a numeric range.

The range-mapping half of Calculate Roll, for when you already hold the hash — verifying somebody else's round, or deriving several outcomes from one hash.

The first 8 hex digits of the hash are read as an integer and reduced into the range, both ends inclusive. Range defaults to 0–100.

Inputs​

Actions​

SignalDescription
DoComputes the outcome.

General​

DataDescription
Fair Hash (string)The outcome hash to map.
Max Range (number)Highest value, inclusive. Defaults to 100.
Min Range (number)Lowest value, inclusive. Defaults to 0.

Outputs​

DataDescription
Roll Result (number)The mapped outcome.
SignalDescription
DoneSent when the node has finished, on success and on failure alike.