blockfrost-api-0.4.0.1: API definitions for blockfrost.io
Safe Haskell None
Language Haskell2010

Blockfrost.Types.Cardano.Assets

Description

Responses for Cardano asset queries

Synopsis

Documentation

data AssetInfo Source #

Asset information, result of listing assets

Instances

Instances details
Eq AssetInfo Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Show AssetInfo Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Generic AssetInfo Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetInfo Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetInfo Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToSample AssetInfo Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

HasQuantity AssetInfo Quantity Source #
Instance details

Defined in Blockfrost.Lens

HasAsset AssetInfo Text Source #
Instance details

Defined in Blockfrost.Lens

type Rep AssetInfo Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

type Rep AssetInfo = D1 (' MetaData "AssetInfo" "Blockfrost.Types.Cardano.Assets" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' 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

Instances details
Eq AssetDetails Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Show AssetDetails Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Generic AssetDetails Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetDetails Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetDetails Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToSample AssetDetails Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

HasQuantity AssetDetails Quantity Source #
Instance details

Defined in Blockfrost.Lens

HasAsset AssetDetails Text Source #
Instance details

Defined in Blockfrost.Lens

HasPolicyId AssetDetails PolicyId Source #
Instance details

Defined in Blockfrost.Lens

HasMintOrBurnCount AssetDetails Integer Source #
Instance details

Defined in Blockfrost.Lens

HasInitialMintTxHash AssetDetails TxHash Source #
Instance details

Defined in Blockfrost.Lens

HasFingerprint AssetDetails Text Source #
Instance details

Defined in Blockfrost.Lens

HasOnchainMetadata AssetDetails ( Maybe AssetOnChainMetadata ) Source #
Instance details

Defined in Blockfrost.Lens

HasMetadata AssetDetails ( Maybe AssetMetadata ) Source #
Instance details

Defined in Blockfrost.Lens

HasAssetName AssetDetails ( Maybe Text ) Source #
Instance details

Defined in Blockfrost.Lens

type Rep AssetDetails Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

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

Instances details
Eq AssetOnChainMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Show AssetOnChainMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Generic AssetOnChainMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetOnChainMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetOnChainMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToSample AssetOnChainMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

HasName AssetOnChainMetadata Text Source #
Instance details

Defined in Blockfrost.Lens

HasImage AssetOnChainMetadata Text Source #
Instance details

Defined in Blockfrost.Lens

HasOnchainMetadata AssetDetails ( Maybe AssetOnChainMetadata ) Source #
Instance details

Defined in Blockfrost.Lens

type Rep AssetOnChainMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

type Rep AssetOnChainMetadata = D1 (' MetaData "AssetOnChainMetadata" "Blockfrost.Types.Cardano.Assets" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' False ) ( C1 (' MetaCons "AssetOnChainMetadata" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_assetOnChainMetadataName") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Text ) :*: S1 (' MetaSel (' Just "_assetOnChainMetadataImage") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Text )))

data AssetMetadata Source #

Asset metadata obtained from Cardano token registry https://github.com/cardano-foundation/cardano-token-registry

Constructors

AssetMetadata

Instances

Instances details
Eq AssetMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Show AssetMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Generic AssetMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToSample AssetMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

HasName AssetMetadata Text Source #
Instance details

Defined in Blockfrost.Lens

HasDescription AssetMetadata Text Source #
Instance details

Defined in Blockfrost.Lens

HasUrl AssetMetadata ( Maybe Text ) Source #
Instance details

Defined in Blockfrost.Lens

HasMetadata AssetDetails ( Maybe AssetMetadata ) Source #
Instance details

Defined in Blockfrost.Lens

HasTicker AssetMetadata ( Maybe Text ) Source #
Instance details

Defined in Blockfrost.Lens

HasLogo AssetMetadata ( Maybe Text ) Source #
Instance details

Defined in Blockfrost.Lens

HasDecimals AssetMetadata ( Maybe Int ) Source #
Instance details

Defined in Blockfrost.Lens

type Rep AssetMetadata Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

data AssetHistory Source #

History of an asset

Constructors

AssetHistory

Fields

Instances

Instances details
Eq AssetHistory Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Show AssetHistory Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Generic AssetHistory Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetHistory Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetHistory Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToSample AssetHistory Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

HasAmount AssetHistory Quantity Source #
Instance details

Defined in Blockfrost.Lens

HasTxHash AssetHistory TxHash Source #
Instance details

Defined in Blockfrost.Lens

HasAction AssetHistory AssetAction Source #
Instance details

Defined in Blockfrost.Lens

type Rep AssetHistory Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

data AssetAction Source #

Action of the asset. Created ( Minted ) or destroyed ( Burned ).

Constructors

Minted
Burned

Instances

Instances details
Eq AssetAction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Show AssetAction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Generic AssetAction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetAction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetAction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToSample AssetAction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

HasAction AssetHistory AssetAction Source #
Instance details

Defined in Blockfrost.Lens

type Rep AssetAction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

type Rep AssetAction = D1 (' MetaData "AssetAction" "Blockfrost.Types.Cardano.Assets" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' False ) ( C1 (' MetaCons "Minted" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Burned" ' PrefixI ' False ) ( U1 :: Type -> Type ))

data AssetTransaction Source #

Transaction of an asset

Constructors

AssetTransaction

Fields

Instances

Instances details
Eq AssetTransaction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Show AssetTransaction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Generic AssetTransaction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetTransaction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetTransaction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToSample AssetTransaction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

HasTxHash AssetTransaction TxHash Source #
Instance details

Defined in Blockfrost.Lens

HasTxIndex AssetTransaction Integer Source #
Instance details

Defined in Blockfrost.Lens

HasBlockHeight AssetTransaction Integer Source #
Instance details

Defined in Blockfrost.Lens

type Rep AssetTransaction Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

type Rep AssetTransaction = D1 (' MetaData "AssetTransaction" "Blockfrost.Types.Cardano.Assets" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' False ) ( C1 (' MetaCons "AssetTransaction" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_assetTransactionTxHash") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 TxHash ) :*: ( S1 (' MetaSel (' Just "_assetTransactionTxIndex") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Integer ) :*: S1 (' MetaSel (' Just "_assetTransactionBlockHeight") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Integer ))))

data AssetAddress Source #

An address containing specific asset

Constructors

AssetAddress

Fields

Instances

Instances details
Eq AssetAddress Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Show AssetAddress Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

Generic AssetAddress Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToJSON AssetAddress Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

FromJSON AssetAddress Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

ToSample AssetAddress Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

HasAddress AssetAddress Address Source #
Instance details

Defined in Blockfrost.Lens

HasQuantity AssetAddress Quantity Source #
Instance details

Defined in Blockfrost.Lens

type Rep AssetAddress Source #
Instance details

Defined in Blockfrost.Types.Cardano.Assets

type Rep AssetAddress = D1 (' MetaData "AssetAddress" "Blockfrost.Types.Cardano.Assets" "blockfrost-api-0.4.0.1-A9W5au7R2kOUA8M8hTMe9" ' False ) ( C1 (' MetaCons "AssetAddress" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_assetAddressAddress") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Address ) :*: S1 (' MetaSel (' Just "_assetAddressQuantity") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Quantity )))