Class GetBlockRequest

    • Method Detail

      • name

        public final String name()

        The name of the ledger.

        Returns:
        The name of the ledger.
      • blockAddress

        public final ValueHolder blockAddress()

        The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

        Returns:
        The location of the block that you want to request. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:14}.

      • digestTipAddress

        public final ValueHolder digestTipAddress()

        The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

        Returns:
        The latest block location covered by the digest for which to request a proof. An address is an Amazon Ion structure that has two fields: strandId and sequenceNo.

        For example: {strandId:"BlFTjlSXze9BIh1KOszcE3",sequenceNo:49}.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object