Skip to content

Instantly share code, notes, and snippets.

@ngrinkevich
Created September 25, 2018 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ngrinkevich/f067bff58ea0547af0c3c3371ef8268f to your computer and use it in GitHub Desktop.
Save ngrinkevich/f067bff58ea0547af0c3c3371ef8268f to your computer and use it in GitHub Desktop.
randomBeacon.RelayEntryGenerated().watch((error, result) => {
if (result.args.requestID.toNumber() === this.state.requestId) {
let randomBigNumber = result.args.requestResponse;
// ...
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment