Class WaitForBlock


  • public class WaitForBlock
    extends Query
    Waits for a block to appear after round {round} and returns the node's status at the time. There is a 1 minute timeout, when reached the current status is returned regardless of whether or not it is the round after the given round. /v2/status/wait-for-block-after/{round}
    • Constructor Detail

      • WaitForBlock

        public WaitForBlock​(Client client,
                            Long round)
        Parameters:
        round - The round to wait until returning status