Class ProxyStaker

java.lang.Object
com.hedera.hashgraph.sdk.ProxyStaker

public final class ProxyStaker extends Object
Information about a single account that is proxy staking.
  • Field Details

    • accountId

      public final AccountId accountId
      The Account ID that is proxy staking.
    • amount

      public final Hbar amount
      The number of hbars that are currently proxy staked.
  • Method Details

    • fromProtobuf

      static ProxyStaker fromProtobuf(ProxyStaker proxyStaker)
      Create a proxy staker object from a protobuf.
      Parameters:
      proxyStaker - the protobuf
      Returns:
      the new proxy staker object
    • toString

      public String toString()
      Overrides:
      toString in class Object