Package 

Class ChainModuleClient

  • All Implemented Interfaces:
    dev.sublab.substrate.modules.chain.ChainModule

    
    public final class ChainModuleClient
     implements ChainModule
                        

    Handles chain block hash fetching

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getBlockHash(Integer number) Gets block hash using the provided number as a parameter for RPC request
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChainModuleClient

        ChainModuleClient(Rpc rpc)
    • Method Detail