Blockfrost.Types.Shared.PoolId
Description
Pool identifier
newtype PoolId Source #
Constructors
Defined in Blockfrost.Types.Shared.PoolId
Methods
(==) :: PoolId -> PoolId -> Bool #
(/=) :: PoolId -> PoolId -> Bool #
showsPrec :: Int -> PoolId -> ShowS #
show :: PoolId -> String #
showList :: [PoolId] -> ShowS #
fromString :: String -> PoolId #
Associated Types
type Rep PoolId :: Type -> Type #
from :: PoolId -> Rep PoolId x #
to :: Rep PoolId x -> PoolId #
toJSON :: PoolId -> Value #
toEncoding :: PoolId -> Encoding #
toJSONList :: [PoolId] -> Value #
toEncodingList :: [PoolId] -> Encoding #
parseJSON :: Value -> Parser PoolId #
parseJSONList :: Value -> Parser [PoolId] #
toUrlPiece :: PoolId -> Text #
toEncodedUrlPiece :: PoolId -> Builder #
toHeader :: PoolId -> ByteString #
toQueryParam :: PoolId -> Text #
parseUrlPiece :: Text -> Either Text PoolId #
parseHeader :: ByteString -> Either Text PoolId #
parseQueryParam :: Text -> Either Text PoolId #
toSamples :: Proxy PoolId -> [(Text, PoolId)] #
Defined in Blockfrost.Lens
poolId :: Lens' PoolMetadata PoolId Source #
poolId :: Lens' PoolInfo PoolId Source #
poolId :: Lens' PoolEpoch PoolId Source #
poolId :: Lens' TransactionPoolRetiring PoolId Source #
poolId :: Lens' TransactionPoolUpdate PoolId Source #
poolId :: Lens' TransactionDelegation PoolId Source #
poolId :: Lens' StakeDistribution PoolId Source #
poolId :: Lens' AccountDelegation PoolId Source #
poolId :: Lens' AccountHistory PoolId Source #
poolId :: Lens' AccountReward PoolId Source #
poolId :: Lens' AccountInfo (Maybe PoolId) Source #
toCapture :: Proxy (Capture "pool_id" PoolId) -> DocCapture #
mkPoolId :: Text -> PoolId Source #
unPoolId :: PoolId -> Text Source #