@@ -51,24 +51,24 @@ Coming Soon: ``[eventLogs, geth, websockets, tokens]``
5151 //account
5252 account.getERC20Tokens("0x4e83362442b8d1bec281594cea3050c8eb01311c")
5353 .observeOn(AndroidSchedulers.mainThread())
54- ? .subscribeBy(
54+ .subscribeBy(
5555 onSuccess = { Log.d(TAG, "The Account Size of Transactions is: ${it.size}") },
5656 onError = { Log.d(TAG, "error receiving ERC20") })
5757
5858 //contracts
5959 contract.getContractABI("0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413")
6060 .observeOn(AndroidSchedulers.mainThread())
61- ? .subscribeBy(
61+ .subscribeBy(
6262 onSuccess = { Log.d(TAG, "The ABI has returned: $it") },
6363 onError = { Log.d(TAG, "error receiving abi contract") })
6464
6565 //blocks
6666 blocks.getBlocksMined("2165403")
6767 .observeOn(AndroidSchedulers.mainThread())
68- ? .subscribeBy(
68+ .subscribeBy(
6969 onSuccess = {
7070 Log.d(TAG, "The block miner is: ${it.blockMiner} and " +
71- "the first miner : ${it.uncles? .get(0)? .miner}")
71+ "the first miner : ${it.uncles.get(0).miner}")
7272 },
7373 onError = { Log.d(TAG, "error receiving blocks mined") })
7474```
0 commit comments