chainline-contracts / chainline.contracts / HubContract / wallet_requestTxOut

wallet_requestTxOut

private fun ScriptHash.wallet_requestTxOut(nowTime: Int): Boolean (source)

Requests permission to perform a withdrawal from a user wallet using the value in tx outputs. Note: Please ensure that the script has been through wallet_validate before this is called.

Parameters

nowTime - the current unix timestamp in seconds

Return
true if the transaction is clear to proceed