Blockfrost.Types.Shared.AssetId
Description
AssetIds
newtype AssetId Source #
Concatenation of asset policy ID and hex-encoded asset name
Constructors
Defined in Blockfrost.Types.Shared.AssetId
Methods
(==) :: AssetId -> AssetId -> Bool Source #
(/=) :: AssetId -> AssetId -> Bool Source #
compare :: AssetId -> AssetId -> Ordering Source #
(<) :: AssetId -> AssetId -> Bool Source #
(<=) :: AssetId -> AssetId -> Bool Source #
(>) :: AssetId -> AssetId -> Bool Source #
(>=) :: AssetId -> AssetId -> Bool Source #
max :: AssetId -> AssetId -> AssetId Source #
min :: AssetId -> AssetId -> AssetId Source #
showsPrec :: Int -> AssetId -> ShowS Source #
show :: AssetId -> String Source #
showList :: [ AssetId ] -> ShowS Source #
fromString :: String -> AssetId Source #
Associated Types
type Rep AssetId :: Type -> Type Source #
from :: AssetId -> Rep AssetId x Source #
to :: Rep AssetId x -> AssetId Source #
toJSON :: AssetId -> Value Source #
toEncoding :: AssetId -> Encoding Source #
toJSONList :: [ AssetId ] -> Value Source #
toEncodingList :: [ AssetId ] -> Encoding Source #
parseJSON :: Value -> Parser AssetId Source #
parseJSONList :: Value -> Parser [ AssetId ] Source #
toUrlPiece :: AssetId -> Text Source #
toEncodedUrlPiece :: AssetId -> Builder Source #
toHeader :: AssetId -> ByteString Source #
toQueryParam :: AssetId -> Text Source #
parseUrlPiece :: Text -> Either Text AssetId Source #
parseHeader :: ByteString -> Either Text AssetId Source #
parseQueryParam :: Text -> Either Text AssetId Source #
toSamples :: Proxy AssetId -> [( Text , AssetId )] Source #
toCapture :: Proxy ( Capture "asset" AssetId ) -> DocCapture Source #
mkAssetId :: Text -> AssetId Source #
unAssetId :: AssetId -> Text Source #