chainline-contracts / chainline.contracts / HubContract / wallet_checkWitness

wallet_checkWitness

private fun ScriptHash.wallet_checkWitness(): Boolean (source)

Calls Runtime.checkWitness on the provided script hash. Avoids making the call if the current ScriptContainer is null, which is the case when rpc "invokescript" is used.