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