You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tendermint RPC has a /tx?hash=_&prove=_ endpoint which returns a proof that the transaction with the given hash made it into a block.
It would be nice if the LightNode class had a method to retrieve and verify these proofs.
Perhaps something like:
lettendermint=require('tendermint')letlightClient=tendermint(nodeAddress,initialClientState)lettxIncluded=awaitlightClient.verifyTxInclusion(txHash)// `true` or `false`
The text was updated successfully, but these errors were encountered:
Tendermint RPC has a
/tx?hash=_&prove=_
endpoint which returns a proof that the transaction with the given hash made it into a block.It would be nice if the
LightNode
class had a method to retrieve and verify these proofs.Perhaps something like:
The text was updated successfully, but these errors were encountered: