blockfrost-api-0.7.1.0: API definitions for blockfrost.io
Safe HaskellSafe-Inferred
LanguageHaskell2010

Blockfrost.Types.Shared.AssetId

Description

AssetIds

Synopsis

Documentation

newtype AssetId Source #

Concatenation of asset policy ID and hex-encoded asset name

Constructors

AssetId Text 

Instances

Instances details
FromJSON AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

ToJSON AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

IsString AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

Methods

fromString :: String -> AssetId #

Generic AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

Associated Types

type Rep AssetId :: Type -> Type #

Methods

from :: AssetId -> Rep AssetId x #

to :: Rep AssetId x -> AssetId #

Show AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

Eq AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

Methods

(==) :: AssetId -> AssetId -> Bool #

(/=) :: AssetId -> AssetId -> Bool #

Ord AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

FromHttpApiData AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

ToHttpApiData AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

ToSample AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

Methods

toSamples :: Proxy AssetId -> [(Text, AssetId)] #

ToCapture (Capture "asset" AssetId) Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

Methods

toCapture :: Proxy (Capture "asset" AssetId) -> DocCapture #

type Rep AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

type Rep AssetId = D1 ('MetaData "AssetId" "Blockfrost.Types.Shared.AssetId" "blockfrost-api-0.7.1.0-CgZgL8i31khKQ2PF7JuKyl" 'True) (C1 ('MetaCons "AssetId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))