Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- _assetDetailsOnchainMetadataValue :: Maybe Value
- _assetDetailsOnchainStandardMetadata :: Maybe AssetOnChainMetadata
- _assetDetailsMetadata :: Maybe AssetMetadata
- _assetDetailsOnchainMetadataExtra :: Maybe Text
- data AssetOnChainMetadata = AssetOnChainMetadata {}
- data MetadataMediaFile = MetadataMediaFile {}
- parseStandardMetadata :: Maybe Value -> Maybe AssetOnChainMetadata
- parseStandardMetadataInDetails :: AssetDetails -> AssetDetails
- data AssetMetadata = AssetMetadata {}
- data AssetHistory = AssetHistory {}
- data AssetAction
- data AssetTransaction = AssetTransaction {}
- data AssetAddress = AssetAddress {}
Documentation
Asset information, result of listing assets
Instances
FromJSON AssetInfo Source # | |
Defined in Blockfrost.Types.Cardano.Assets | |
ToJSON AssetInfo Source # | |
Generic AssetInfo Source # | |
Show AssetInfo Source # | |
Eq AssetInfo Source # | |
ToSample AssetInfo Source # | |
HasAsset AssetInfo Text Source # | |
HasQuantity AssetInfo Quantity Source # | |
type Rep AssetInfo Source # | |
Defined in Blockfrost.Types.Cardano.Assets type Rep AssetInfo = D1 ('MetaData "AssetInfo" "Blockfrost.Types.Cardano.Assets" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" '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
AssetDetails | |
|
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
AssetOnChainMetadata | |
|
Instances
data MetadataMediaFile Source #
Additional media files (accordingly to CIP25 and CIP68)
MetadataMediaFile | |
|
Instances
data AssetMetadata Source #
Asset metadata obtained from Cardano token registry https://github.com/cardano-foundation/cardano-token-registry
AssetMetadata | |
|
Instances
data AssetHistory Source #
History of an asset
AssetHistory | |
|
Instances
data AssetAction Source #
Instances
data AssetTransaction Source #
Transaction of an asset
AssetTransaction | |
|
Instances
data AssetAddress Source #
An address containing specific asset
AssetAddress | |
|