chainline-contracts / chainline.contracts / HubContract / wallet_canOpenDemandOrTravel

wallet_canOpenDemandOrTravel

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

Indicates whether a wallet is in a state that allows it to open a demand or travel. At the moment this contract supports one active transaction per user wallet at any one time.

Parameters

nowTime - the current unix timestamp in seconds

Return
true on success