github.com/algorand/go-algorand-sdk@v1.24.0/client/v2/common/models/transaction_proof_response.go (about)

     1  package models
     2  
     3  // TransactionProofResponse proof of transaction in a block.
     4  type TransactionProofResponse struct {
     5  	// Hashtype the type of hash function used to create the proof, must be one of:
     6  	// * sha512_256
     7  	// * sha256
     8  	Hashtype string `json:"hashtype,omitempty"`
     9  
    10  	// Idx index of the transaction in the block's payset.
    11  	Idx uint64 `json:"idx"`
    12  
    13  	// Proof proof of transaction membership.
    14  	Proof []byte `json:"proof"`
    15  
    16  	// Stibhash hash of SignedTxnInBlock for verifying proof.
    17  	Stibhash []byte `json:"stibhash"`
    18  
    19  	// Treedepth represents the depth of the tree that is being proven, i.e. the number
    20  	// of edges from a leaf to the root.
    21  	Treedepth uint64 `json:"treedepth"`
    22  }