Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataItemInclusionProof ¶
func DataItemInclusionProof(trustlessDataItem types.TrustlessDataItem, endpoint string) error
DataItemInclusionProof proves the validity of a given Data Item. Therefore, it regenerates the Merkle root with the provided Merkle nodes in order to compare the locally computed hash with the one stored on-chain. It returns true if the given Data Item is the actually validated one by KYVE and false if not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.