Class TransactionProofResponse
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.PathResponse
-
- com.algorand.algosdk.v2.client.model.TransactionProofResponse
-
public class TransactionProofResponse extends PathResponse
Proof of transaction in a block.
-
-
Field Summary
Fields Modifier and Type Field Description Enums.Hashtype
hashtype
The type of hash function used to create the proof, must be one of: sha512_256 sha256Long
idx
Index of the transaction in the block's payset.byte[]
proof
byte[]
stibhash
Long
treedepth
Represents the depth of the tree that is being proven, i.e.
-
Constructor Summary
Constructors Constructor Description TransactionProofResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
proof()
void
proof(String base64Encoded)
Proof of transaction membership.String
stibhash()
void
stibhash(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.
-
-