Class EthGetProof.Proof

java.lang.Object
org.web3j.protocol.core.methods.response.EthGetProof.Proof
Enclosing class:
EthGetProof

public static class EthGetProof.Proof extends Object
json rpc result of object.
  • Constructor Details

    • Proof

      public Proof()
      Instantiates a new Proof.
    • Proof

      public Proof(String address, String balance, String codeHash, String nonce, String storageHash, List<String> accountProof, List<EthGetProof.StorageProof> storageProof)
      Instantiates a new Proof.
      Parameters:
      address - the address
      balance - the balance
      codeHash - the code hash
      nonce - the nonce
      storageHash - the storage hash
      accountProof - the account proof
      storageProof - the storage proof
  • Method Details

    • getAddress

      public String getAddress()
      Gets address.
      Returns:
      the address
    • setAddress

      public void setAddress(String address)
      Sets address.
      Parameters:
      address - the address
    • getBalanceRaw

      public String getBalanceRaw()
      Gets balance raw.
      Returns:
      the balance raw
    • getBalance

      public BigInteger getBalance()
      Gets balance.
      Returns:
      the balance
    • setBalance

      public void setBalance(String balance)
      Sets balance.
      Parameters:
      balance - the balance
    • getCodeHash

      public String getCodeHash()
      Gets code hash.
      Returns:
      the code hash
    • setCodeHash

      public void setCodeHash(String codeHash)
      Sets code hash.
      Parameters:
      codeHash - the code hash
    • getNonce

      public String getNonce()
      Gets nonce.
      Returns:
      the nonce
    • setNonce

      public void setNonce(String nonce)
      Sets nonce.
      Parameters:
      nonce - the nonce
    • getStorageHash

      public String getStorageHash()
      Gets storage hash.
      Returns:
      the storage hash
    • setStorageHash

      public void setStorageHash(String storageHash)
      Sets storage hash.
      Parameters:
      storageHash - the storage hash
    • getAccountProof

      public List<String> getAccountProof()
      Gets account proof.
      Returns:
      the account proof
    • setAccountProof

      public void setAccountProof(List<String> accountProof)
      Sets account proof.
      Parameters:
      accountProof - the account proof
    • getStorageProof

      public List<EthGetProof.StorageProof> getStorageProof()
      Gets storage proof.
      Returns:
      the storage proof
    • setStorageProof

      public void setStorageProof(List<EthGetProof.StorageProof> storageProof)
      Sets storage proof.
      Parameters:
      storageProof - the storage proof
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object