Class EthGetProof.Proof
java.lang.Object
org.web3j.protocol.core.methods.response.EthGetProof.Proof
- Enclosing class:
- EthGetProof
json rpc result of object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets account proof.Gets address.Gets balance.Gets balance raw.Gets code hash.getNonce()
Gets nonce.Gets storage hash.Gets storage proof.int
hashCode()
void
setAccountProof
(List<String> accountProof) Sets account proof.void
setAddress
(String address) Sets address.void
setBalance
(String balance) Sets balance.void
setCodeHash
(String codeHash) Sets code hash.void
Sets nonce.void
setStorageHash
(String storageHash) Sets storage hash.void
setStorageProof
(List<EthGetProof.StorageProof> storageProof) Sets storage proof.
-
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 addressbalance
- the balancecodeHash
- the code hashnonce
- the noncestorageHash
- the storage hashaccountProof
- the account proofstorageProof
- the storage proof
-
-
Method Details
-
getAddress
Gets address.- Returns:
- the address
-
setAddress
Sets address.- Parameters:
address
- the address
-
getBalanceRaw
Gets balance raw.- Returns:
- the balance raw
-
getBalance
Gets balance.- Returns:
- the balance
-
setBalance
Sets balance.- Parameters:
balance
- the balance
-
getCodeHash
Gets code hash.- Returns:
- the code hash
-
setCodeHash
Sets code hash.- Parameters:
codeHash
- the code hash
-
getNonce
Gets nonce.- Returns:
- the nonce
-
setNonce
Sets nonce.- Parameters:
nonce
- the nonce
-
getStorageHash
Gets storage hash.- Returns:
- the storage hash
-
setStorageHash
Sets storage hash.- Parameters:
storageHash
- the storage hash
-
getAccountProof
Gets account proof.- Returns:
- the account proof
-
setAccountProof
Sets account proof.- Parameters:
accountProof
- the account proof
-
getStorageProof
Gets storage proof.- Returns:
- the storage proof
-
setStorageProof
Sets storage proof.- Parameters:
storageProof
- the storage proof
-
equals
-
hashCode
public int hashCode()
-