Guest User

Untitled

a guest
Sep 25th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. async requestRelayEntry() {
  2. let request = await this.state.randomBeacon.requestRelayEntry(0, 0, {from: this.state.yourAddress, gas: 150000});
  3. let requestId = request.logs[0].args.requestID.toNumber();
  4. this.setState({
  5. loading: true,
  6. requestId: requestId
  7. });
  8. }
Add Comment
Please, Sign In to add comment