Interface InfoService

All Known Implementing Classes:
InfoServiceImpl

public interface InfoService
  • Method Details

    • asyncGetTransactionByHash

      io.reactivex.Single<TransactionResult> asyncGetTransactionByHash​(java.lang.String txHash)
      asynchronously get the transaction object for given tx hash
      Parameters:
      txHash - the hash of a specific transaction
      Returns:
      asynchronous result handler (RxJava Single) for TransactionResult
    • blockingGetTransactionByHash

      TransactionResult blockingGetTransactionByHash​(java.lang.String txHash)
      synchronously get the transaction object for given tx hash
      Parameters:
      txHash - the hash of a specific transaction
      Returns:
      result of TransactionResult
    • asyncGetTransactionInfoByHash

      io.reactivex.Single<TransactionInfoResult> asyncGetTransactionInfoByHash​(java.lang.String txHash)
      asynchronously gets the information object for given tx hash
      Parameters:
      txHash - the hash of a specific transaction
      Returns:
      asynchronous result handler (RxJava Single) for TransactionInfoResult
    • blockingGetTransactionInfoByHash

      TransactionInfoResult blockingGetTransactionInfoByHash​(java.lang.String txHash)
      synchronously gets the information object for given tx hash
      Parameters:
      txHash - the hash of a specific transaction
      Returns:
      result of TransactionResult
    • asyncGetMicroBlockTransactions

      io.reactivex.Single<TransactionResults> asyncGetMicroBlockTransactions​(java.lang.String microBlockHash)
      asynchronously get transaction object for given microblock tx hash
      Parameters:
      microBlockHash - the hash of a specific MicroBlock
      Returns:
      asynchronous result handler (RxJava Single) for TransactionResults
    • blockingGetMicroBlockTransactions

      TransactionResults blockingGetMicroBlockTransactions​(java.lang.String microBlockHash)
      synchronously get transaction object for given microblock tx hash
      Parameters:
      microBlockHash - the hash of a specific MicroBlock
      Returns:
      result for TransactionResults
    • asyncGetCurrentKeyBlock

      io.reactivex.Single<KeyBlockResult> asyncGetCurrentKeyBlock()
      asynchronously retrieve the current keyblock
      Returns:
      asynchronous result handler (RxJava Single) for KeyBlockResult
    • blockingGetCurrentKeyBlock

      KeyBlockResult blockingGetCurrentKeyBlock()
      synchronously retrieve the current keyblock
      Returns:
      result for KeyBlockResult
    • asnycGetContractByteCode

      io.reactivex.Single<StringResultWrapper> asnycGetContractByteCode​(java.lang.String contractId)
      asynchronously retrieve the contracts byteCode
      Parameters:
      contractId - the id of a specific contract
      Returns:
      instance of StringResultWrapper
    • blockingGetContractByteCode

      StringResultWrapper blockingGetContractByteCode​(java.lang.String contractId)
      synchronously retrieve the contracts byteCode
      Parameters:
      contractId - the id of a specific contract
      Returns:
      instance of StringResultWrapper