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 TypeMethodDescriptionbooleanGets account proof.Gets address.Gets balance.Gets balance raw.Gets code hash.getNonce()Gets nonce.Gets storage hash.Gets storage proof.inthashCode()voidsetAccountProof(List<String> accountProof) Sets account proof.voidsetAddress(String address) Sets address.voidsetBalance(String balance) Sets balance.voidsetCodeHash(String codeHash) Sets code hash.voidSets nonce.voidsetStorageHash(String storageHash) Sets storage hash.voidsetStorageProof(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()
-