chainline-contracts / chainline.contracts / HubContract / wallet_validate

wallet_validate

private fun ScriptHash.wallet_validate(pubKey: PublicKey): Boolean (source)

Calls wallet_checkWitness on and validates the integrity of the provided script hash.

Parameters

pubKey - the script hash of the user wallet to validate

See Also

wallet_checkWitness

Return
true if the wallet is valid