Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Dto dto = new Dto();
  2. Observable<EthTransaction> observable = getWeb3().ethGetTransactionByHash(transactionHash).observable();
  3. observable.subscribe(ethTransaction -> ethTransaction.getTransaction().ifPresent(dto::setTransaction));
  4. return dto.getTransaction();
  5.  
  6. getBlock 4100010
  7.  
  8. getTransaciton 0xhashhash
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement