Module

Contract.Chain

A module for Chain-related querying.

#getTip

Re-exports from Ctl.Internal.Contract.WaitUntilSlot

#waitUntilSlot

waitUntilSlot :: Slot -> Contract Tip

The returned slot will be no less than the slot provided as argument.

#waitNSlots

waitNSlots :: BigNum -> Contract Tip

Wait at least offset number of slots.

#currentTime

currentTime :: Contract POSIXTime

Get the latest POSIXTime of the current slot.

#currentSlot

Re-exports from Ctl.Internal.Types.Chain

#Tip

data Tip

Constructors

Instances

#ChainTip

newtype ChainTip

Constructors

Instances

Modules