Blockfrost.Types.Shared.PoolId
Description
Pool identifier
newtype PoolId Source #
Constructors
Defined in Blockfrost.Types.Shared.PoolId
Methods
(==) :: PoolId -> PoolId -> Bool Source #
(/=) :: PoolId -> PoolId -> Bool Source #
showsPrec :: Int -> PoolId -> ShowS Source #
show :: PoolId -> String Source #
showList :: [ PoolId ] -> ShowS Source #
fromString :: String -> PoolId Source #
Associated Types
type Rep PoolId :: Type -> Type Source #
from :: PoolId -> Rep PoolId x Source #
to :: Rep PoolId x -> PoolId Source #
toJSON :: PoolId -> Value Source #
toEncoding :: PoolId -> Encoding Source #
toJSONList :: [ PoolId ] -> Value Source #
toEncodingList :: [ PoolId ] -> Encoding Source #
parseJSON :: Value -> Parser PoolId Source #
parseJSONList :: Value -> Parser [ PoolId ] Source #
toUrlPiece :: PoolId -> Text Source #
toEncodedUrlPiece :: PoolId -> Builder Source #
toHeader :: PoolId -> ByteString Source #
toQueryParam :: PoolId -> Text Source #
parseUrlPiece :: Text -> Either Text PoolId Source #
parseHeader :: ByteString -> Either Text PoolId Source #
parseQueryParam :: Text -> Either Text PoolId Source #
toSamples :: Proxy PoolId -> [( Text , PoolId )] Source #
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 Source #
mkPoolId :: Text -> PoolId Source #
unPoolId :: PoolId -> Text Source #