Blockfrost.Types.Shared.Epoch
Description
Epoch
newtype Epoch Source #
Constructors
Defined in Blockfrost.Types.Shared.Epoch
Methods
parseJSON :: Value -> Parser Epoch #
parseJSONList :: Value -> Parser [Epoch] #
toJSON :: Epoch -> Value #
toEncoding :: Epoch -> Encoding #
toJSONList :: [Epoch] -> Value #
toEncodingList :: [Epoch] -> Encoding #
succ :: Epoch -> Epoch #
pred :: Epoch -> Epoch #
toEnum :: Int -> Epoch #
fromEnum :: Epoch -> Int #
enumFrom :: Epoch -> [Epoch] #
enumFromThen :: Epoch -> Epoch -> [Epoch] #
enumFromTo :: Epoch -> Epoch -> [Epoch] #
enumFromThenTo :: Epoch -> Epoch -> Epoch -> [Epoch] #
Associated Types
type Rep Epoch :: Type -> Type #
from :: Epoch -> Rep Epoch x #
to :: Rep Epoch x -> Epoch #
(+) :: Epoch -> Epoch -> Epoch #
(-) :: Epoch -> Epoch -> Epoch #
(*) :: Epoch -> Epoch -> Epoch #
negate :: Epoch -> Epoch #
abs :: Epoch -> Epoch #
signum :: Epoch -> Epoch #
fromInteger :: Integer -> Epoch #
quot :: Epoch -> Epoch -> Epoch #
rem :: Epoch -> Epoch -> Epoch #
div :: Epoch -> Epoch -> Epoch #
mod :: Epoch -> Epoch -> Epoch #
quotRem :: Epoch -> Epoch -> (Epoch, Epoch) #
divMod :: Epoch -> Epoch -> (Epoch, Epoch) #
toInteger :: Epoch -> Integer #
toRational :: Epoch -> Rational #
showsPrec :: Int -> Epoch -> ShowS #
show :: Epoch -> String #
showList :: [Epoch] -> ShowS #
(==) :: Epoch -> Epoch -> Bool #
(/=) :: Epoch -> Epoch -> Bool #
compare :: Epoch -> Epoch -> Ordering #
(<) :: Epoch -> Epoch -> Bool #
(<=) :: Epoch -> Epoch -> Bool #
(>) :: Epoch -> Epoch -> Bool #
(>=) :: Epoch -> Epoch -> Bool #
max :: Epoch -> Epoch -> Epoch #
min :: Epoch -> Epoch -> Epoch #
parseUrlPiece :: Text -> Either Text Epoch #
parseHeader :: ByteString -> Either Text Epoch #
parseQueryParam :: Text -> Either Text Epoch #
toUrlPiece :: Epoch -> Text #
toEncodedUrlPiece :: Epoch -> Builder #
toHeader :: Epoch -> ByteString #
toQueryParam :: Epoch -> Text #
toSamples :: Proxy Epoch -> [(Text, Epoch)] #
Defined in Blockfrost.Lens
activeEpoch :: Lens' AccountDelegation Epoch Source #
activeEpoch :: Lens' TransactionDelegation Epoch Source #
activeEpoch :: Lens' TransactionPoolUpdate Epoch Source #
epoch :: Lens' AccountReward Epoch Source #
epoch :: Lens' EpochInfo Epoch Source #
epoch :: Lens' ProtocolParams Epoch Source #
epoch :: Lens' PoolEpoch Epoch Source #
epoch :: Lens' PoolHistory Epoch Source #
retiringEpoch :: Lens' TransactionPoolRetiring Epoch Source #
epoch :: Lens' Block (Maybe Epoch) Source #
toCapture :: Proxy (Capture "epoch_number" Epoch) -> DocCapture #
unEpoch :: Epoch -> Integer Source #