Class BlockTx

java.lang.Object
io.goodforgod.api.etherscan.model.BaseTx
io.goodforgod.api.etherscan.model.BlockTx
All Implemented Interfaces:
Comparable<BaseTx>
Direct Known Subclasses:
Tx, TxErc1155, TxErc20, TxErc721

public abstract class BlockTx extends BaseTx
Since:
15.05.2023
  • Constructor Details

    • BlockTx

      public BlockTx()
  • Method Details

    • getNonce

      public long getNonce()
    • getBlockHash

      public String getBlockHash()
    • getTransactionIndex

      public long getTransactionIndex()
    • getGasPrice

      public Wei getGasPrice()
    • getGasUsedCumulative

      public Wei getGasUsedCumulative()
    • getConfirmations

      public long getConfirmations()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BaseTx
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseTx
    • compareTo

      public int compareTo(@NotNull @NotNull BaseTx o)
      Specified by:
      compareTo in interface Comparable<BaseTx>
      Overrides:
      compareTo in class BaseTx