Class TransactionProof
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.PathResponse
-
- com.algorand.algosdk.v2.client.model.TransactionProof
-
public class TransactionProof extends PathResponse
Proof of transaction in a block.
-
-
Field Summary
Fields Modifier and Type Field Description Enums.HashtypehashtypeThe type of hash function used to create the proof, must be one of: sha512_256 sha256LongidxIndex of the transaction in the block's payset.byte[]proofbyte[]stibhashLongtreedepthRepresents the depth of the tree that is being proven, i.e.
-
Constructor Summary
Constructors Constructor Description TransactionProof()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Stringproof()voidproof(String base64Encoded)Proof of transaction membership.Stringstibhash()voidstibhash(String base64Encoded)Hash of SignedTxnInBlock for verifying proof.-
Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse
toString
-
-
-
-
Field Detail
-
hashtype
public Enums.Hashtype hashtype
The type of hash function used to create the proof, must be one of: sha512_256 sha256
-
idx
public Long idx
Index of the transaction in the block's payset.
-
proof
public byte[] proof
-
stibhash
public byte[] stibhash
-
treedepth
public Long treedepth
Represents the depth of the tree that is being proven, i.e. the number of edges from a leaf to the root.
-
-