This function checks block proofs and compares given data with the proven.
If the given data differs from the proven, the exception will be thrown.
The input param is a single block's JSON object, which was queried from DApp server using
functions such as net.query, net.query_collection or net.wait_for_collection.
If block's BOC is not provided in the JSON, it will be queried from DApp server
(in this case it is required to provide at least id of block).
This function first proves the corresponding transaction, ensures that the proven transaction
refers to the given message and compares given data with the proven.
If the given data differs from the proven, the exception will be thrown.
The input parameter is a single message's JSON object (see params description),
which was queried from TONOS API using functions such as net.query, net.query_collection
or net.wait_for_collection.
This function requests the corresponding block, checks block proofs, ensures that given
transaction exists in the proven block and compares given data with the proven.
If the given data differs from the proven, the exception will be thrown.
The input parameter is a single transaction's JSON object (see params description),
which was queried from TONOS API using functions such as net.query, net.query_collection
or net.wait_for_collection.