| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.Cardano.Assets
Description
Responses for Cardano asset queries
Synopsis
- data AssetInfo = AssetInfo {}
- data AssetDetails = AssetDetails {
- _assetDetailsAsset :: Text
- _assetDetailsPolicyId :: PolicyId
- _assetDetailsAssetName :: Maybe Text
- _assetDetailsFingerprint :: Text
- _assetDetailsQuantity :: Quantity
- _assetDetailsInitialMintTxHash :: TxHash
- _assetDetailsMintOrBurnCount :: Integer
- _assetDetailsOnchainMetadata :: Maybe AssetOnChainMetadata
- _assetDetailsMetadata :: Maybe AssetMetadata
- data AssetOnChainMetadata = AssetOnChainMetadata {}
- data AssetMetadata = AssetMetadata {}
- data AssetHistory = AssetHistory {}
- data AssetAction
- data AssetTransaction = AssetTransaction {}
- data AssetAddress = AssetAddress {}
Documentation
Asset information, result of listing assets
Constructors
| AssetInfo | |
Fields | |
Instances
| Eq AssetInfo Source # | |
| Show AssetInfo Source # | |
| Generic AssetInfo Source # | |
| ToJSON AssetInfo Source # | |
Defined in Blockfrost.Types.Cardano.Assets | |
| FromJSON AssetInfo Source # | |
| ToSample AssetInfo Source # | |
| HasQuantity AssetInfo Quantity Source # | |
| HasAsset AssetInfo Text Source # | |
| type Rep AssetInfo Source # | |
Defined in Blockfrost.Types.Cardano.Assets type Rep AssetInfo = D1 ('MetaData "AssetInfo" "Blockfrost.Types.Cardano.Assets" "blockfrost-api-0.4.0.1-9IppWzogtB2Kw5eDV4M9U" 'False) (C1 ('MetaCons "AssetInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_assetInfoAsset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_assetInfoQuantity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity))) | |
data AssetDetails Source #
Details of an asset
Constructors
| AssetDetails | |
Fields
| |
Instances
data AssetOnChainMetadata Source #
On-chain metadata stored in the minting transaction under label 721, community discussion around the standard ongoing at https://github.com/cardano-foundation/CIPs/pull/85
Constructors
| AssetOnChainMetadata | |
Fields
| |
Instances
data AssetMetadata Source #
Asset metadata obtained from Cardano token registry https://github.com/cardano-foundation/cardano-token-registry
Constructors
| AssetMetadata | |
Fields
| |
Instances
data AssetHistory Source #
History of an asset
Constructors
| AssetHistory | |
Fields
| |
Instances
data AssetAction Source #
Instances
| Eq AssetAction Source # | |
Defined in Blockfrost.Types.Cardano.Assets | |
| Show AssetAction Source # | |
Defined in Blockfrost.Types.Cardano.Assets Methods showsPrec :: Int -> AssetAction -> ShowS # show :: AssetAction -> String # showList :: [AssetAction] -> ShowS # | |
| Generic AssetAction Source # | |
Defined in Blockfrost.Types.Cardano.Assets Associated Types type Rep AssetAction :: Type -> Type # | |
| ToJSON AssetAction Source # | |
Defined in Blockfrost.Types.Cardano.Assets Methods toJSON :: AssetAction -> Value # toEncoding :: AssetAction -> Encoding # toJSONList :: [AssetAction] -> Value # toEncodingList :: [AssetAction] -> Encoding # | |
| FromJSON AssetAction Source # | |
Defined in Blockfrost.Types.Cardano.Assets | |
| ToSample AssetAction Source # | |
Defined in Blockfrost.Types.Cardano.Assets Methods toSamples :: Proxy AssetAction -> [(Text, AssetAction)] # | |
| HasAction AssetHistory AssetAction Source # | |
Defined in Blockfrost.Lens Methods | |
| type Rep AssetAction Source # | |
Defined in Blockfrost.Types.Cardano.Assets | |
data AssetTransaction Source #
Transaction of an asset
Constructors
| AssetTransaction | |
Fields
| |
Instances
data AssetAddress Source #
An address containing specific asset
Constructors
| AssetAddress | |
Fields
| |