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

Blockfrost.Types.Shared.ValidationPurpose

Description

Transaction or script redeemer validation purpose

Synopsis

Documentation

data ValidationPurpose Source #

Validation purpose

Constructors

Spend 
Mint 
Cert 
Reward 

Instances

Instances details
FromJSON ValidationPurpose Source # 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

ToJSON ValidationPurpose Source # 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

Generic ValidationPurpose Source # 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

Associated Types

type Rep ValidationPurpose :: Type -> Type #

Show ValidationPurpose Source # 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

Eq ValidationPurpose Source # 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

ToSample ValidationPurpose Source # 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

HasPurpose TransactionRedeemer ValidationPurpose Source # 
Instance details

Defined in Blockfrost.Lens

type Rep ValidationPurpose Source # 
Instance details

Defined in Blockfrost.Types.Shared.ValidationPurpose

type Rep ValidationPurpose = D1 ('MetaData "ValidationPurpose" "Blockfrost.Types.Shared.ValidationPurpose" "blockfrost-api-0.9.0.0-8ngpFk1tydG8f8exKNUWo7" 'False) ((C1 ('MetaCons "Spend" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Mint" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Cert" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Reward" 'PrefixI 'False) (U1 :: Type -> Type)))