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

Blockfrost.Types.Cardano.Scripts

Description

Cardano Scripts responses

Synopsis

Documentation

data Script Source #

Script info

Constructors

Script 

Fields

Instances

Instances details
FromJSON Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep Script :: Type -> Type #

Methods

from :: Script -> Rep Script x #

to :: Rep Script x -> Script #

Show Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Eq Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Methods

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

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

ToSample Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Methods

toSamples :: Proxy Script -> [(Text, Script)] #

type Rep Script Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep Script = D1 ('MetaData "Script" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) (C1 ('MetaCons "Script" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptScriptHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptHash) :*: (S1 ('MetaSel ('Just "_scriptType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptType) :*: S1 ('MetaSel ('Just "_scriptSerialisedSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)))))

data ScriptType Source #

Script type

Instances

Instances details
FromJSON ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptType :: Type -> Type #

Show ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Eq ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Ord ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptType Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptType = D1 ('MetaData "ScriptType" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) ((C1 ('MetaCons "PlutusV1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PlutusV2" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PlutusV3" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Timelock" 'PrefixI 'False) (U1 :: Type -> Type)))

data ScriptRedeemer Source #

Script redeemer

Constructors

ScriptRedeemer 

Fields

Instances

Instances details
FromJSON ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptRedeemer :: Type -> Type #

Show ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Eq ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptRedeemer Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptRedeemer = D1 ('MetaData "ScriptRedeemer" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'False) (C1 ('MetaCons "ScriptRedeemer" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_scriptRedeemerTxHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TxHash) :*: S1 ('MetaSel ('Just "_scriptRedeemerTxIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "_scriptRedeemerPurpose") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValidationPurpose) :*: S1 ('MetaSel ('Just "_scriptRedeemerRedeemerDataHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DatumHash))) :*: ((S1 ('MetaSel ('Just "_scriptRedeemerDatumHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DatumHash) :*: S1 ('MetaSel ('Just "_scriptRedeemerUnitMem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity)) :*: (S1 ('MetaSel ('Just "_scriptRedeemerUnitSteps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity) :*: S1 ('MetaSel ('Just "_scriptRedeemerFee") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Lovelaces)))))

newtype ScriptDatum Source #

Constructors

ScriptDatum 

Instances

Instances details
FromJSON ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptDatum :: Type -> Type #

Show ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Eq ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptDatum = D1 ('MetaData "ScriptDatum" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'True) (C1 ('MetaCons "ScriptDatum" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptDatumJsonValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Value)))

newtype ScriptDatumCBOR Source #

Constructors

ScriptDatumCBOR 

Instances

Instances details
FromJSON ScriptDatumCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptDatumCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptDatumCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptDatumCBOR :: Type -> Type #

Show ScriptDatumCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Eq ScriptDatumCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptDatumCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptDatumCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptDatumCBOR = D1 ('MetaData "ScriptDatumCBOR" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'True) (C1 ('MetaCons "ScriptDatumCBOR" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptDatumCborCbor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype InlineDatum Source #

Constructors

InlineDatum 

Instances

Instances details
FromJSON InlineDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON InlineDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic InlineDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep InlineDatum :: Type -> Type #

Show InlineDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Eq InlineDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample InlineDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

HasInlineDatum AddressUtxo (Maybe InlineDatum) Source # 
Instance details

Defined in Blockfrost.Lens

HasInlineDatum UtxoInput (Maybe InlineDatum) Source # 
Instance details

Defined in Blockfrost.Lens

HasInlineDatum UtxoOutput (Maybe InlineDatum) Source # 
Instance details

Defined in Blockfrost.Lens

type Rep InlineDatum Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep InlineDatum = D1 ('MetaData "InlineDatum" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'True) (C1 ('MetaCons "InlineDatum" 'PrefixI 'True) (S1 ('MetaSel ('Just "unInlineDatum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScriptDatumCBOR)))

newtype ScriptJSON Source #

Constructors

ScriptJSON 

Instances

Instances details
FromJSON ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptJSON :: Type -> Type #

Show ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Eq ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptJSON Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptJSON = D1 ('MetaData "ScriptJSON" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'True) (C1 ('MetaCons "ScriptJSON" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptJsonJson") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value))))

newtype ScriptCBOR Source #

Constructors

ScriptCBOR 

Instances

Instances details
FromJSON ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToJSON ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Generic ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Associated Types

type Rep ScriptCBOR :: Type -> Type #

Show ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

Eq ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

ToSample ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptCBOR Source # 
Instance details

Defined in Blockfrost.Types.Cardano.Scripts

type Rep ScriptCBOR = D1 ('MetaData "ScriptCBOR" "Blockfrost.Types.Cardano.Scripts" "blockfrost-api-0.11.0.0-2jNq3H6sEubDGpTeuodF8r" 'True) (C1 ('MetaCons "ScriptCBOR" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scriptCborCbor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))