blockfrost-api-0.2.1.0: API definitions for blockfrost.io
Safe HaskellNone
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
Eq AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

Methods

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

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

Show 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 #

ToJSON AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

FromJSON AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

ToHttpApiData AssetId Source # 
Instance details

Defined in Blockfrost.Types.Shared.AssetId

FromHttpApiData 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.2.1.0-KZcfvGT2yF56UZeMbClPE7" 'True) (C1 ('MetaCons "AssetId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))