Blockfrost.Types.Shared.Slot
Description
Slot wrapper
newtype Slot Source #
Constructors
Defined in Blockfrost.Types.Shared.Slot
Methods
parseJSON :: Value -> Parser Slot #
parseJSONList :: Value -> Parser [Slot] #
omittedField :: Maybe Slot #
toJSON :: Slot -> Value #
toEncoding :: Slot -> Encoding #
toJSONList :: [Slot] -> Value #
toEncodingList :: [Slot] -> Encoding #
omitField :: Slot -> Bool #
succ :: Slot -> Slot #
pred :: Slot -> Slot #
toEnum :: Int -> Slot #
fromEnum :: Slot -> Int #
enumFrom :: Slot -> [Slot] #
enumFromThen :: Slot -> Slot -> [Slot] #
enumFromTo :: Slot -> Slot -> [Slot] #
enumFromThenTo :: Slot -> Slot -> Slot -> [Slot] #
Associated Types
type Rep Slot :: Type -> Type #
from :: Slot -> Rep Slot x #
to :: Rep Slot x -> Slot #
(+) :: Slot -> Slot -> Slot #
(-) :: Slot -> Slot -> Slot #
(*) :: Slot -> Slot -> Slot #
negate :: Slot -> Slot #
abs :: Slot -> Slot #
signum :: Slot -> Slot #
fromInteger :: Integer -> Slot #
quot :: Slot -> Slot -> Slot #
rem :: Slot -> Slot -> Slot #
div :: Slot -> Slot -> Slot #
mod :: Slot -> Slot -> Slot #
quotRem :: Slot -> Slot -> (Slot, Slot) #
divMod :: Slot -> Slot -> (Slot, Slot) #
toInteger :: Slot -> Integer #
toRational :: Slot -> Rational #
showsPrec :: Int -> Slot -> ShowS #
show :: Slot -> String #
showList :: [Slot] -> ShowS #
(==) :: Slot -> Slot -> Bool #
(/=) :: Slot -> Slot -> Bool #
compare :: Slot -> Slot -> Ordering #
(<) :: Slot -> Slot -> Bool #
(<=) :: Slot -> Slot -> Bool #
(>) :: Slot -> Slot -> Bool #
(>=) :: Slot -> Slot -> Bool #
max :: Slot -> Slot -> Slot #
min :: Slot -> Slot -> Slot #
parseUrlPiece :: Text -> Either Text Slot #
parseHeader :: ByteString -> Either Text Slot #
parseQueryParam :: Text -> Either Text Slot #
toUrlPiece :: Slot -> Text #
toEncodedUrlPiece :: Slot -> Builder #
toHeader :: Slot -> ByteString #
toQueryParam :: Slot -> Text #
toEncodedQueryParam :: Slot -> Builder #
toSamples :: Proxy Slot -> [(Text, Slot)] #
Defined in Blockfrost.Lens
boundSlot :: Lens' NetworkEraBound Slot Source #
slot :: Lens' Transaction Slot Source #
slot :: Lens' Block (Maybe Slot) Source #
toCapture :: Proxy (Capture "slot_number" Slot) -> DocCapture #
unSlot :: Slot -> Integer Source #