bcc-api-1.99.0
Safe HaskellNone
LanguageHaskell2010

Bcc.Api.Address

Description

Bcc addresses: payment and stake addresses.

Synopsis

Payment addresses

Constructing and inspecting normal payment addresses

data Address addrtype where Source #

Addresses are used as locations where assets live. The address determines the rights needed to spend assets at the address: in particular holding some signing key or being able to satisfy the conditions of a script.

There are currently two types of address:

  • Cole addresses, which use the type tag ColeAddr; and
  • Sophie addresses, which use the type tag SophieAddr. Notably, Sophie addresses support scripts and stake delegation.

The address type is subtly from the ledger era in which each address type is valid: while Cole addresses are the only choice in the Cole era, the Sophie era and all subsequent eras support both Cole and Sophie addresses. The Address type param only says the type of the address (either Cole or Sophie). The AddressInEra type connects the address type with the era in which it is supported.

Constructors

ColeAddress ∷ Address → Address ColeAddr

Cole addresses were the only supported address type in the original Cole era.

SophieAddress ∷ Network → PaymentCredential StandardCrypto → StakeReference StandardCrypto → Address SophieAddr

Sophie addresses allow delegation. Sophie addresses were introduced in Sophie era and are thus supported from the Sophie era onwards

Instances

Instances details
Eq (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

(==)Address addrtype → Address addrtype → Bool Source #

(/=)Address addrtype → Address addrtype → Bool Source #

Ord (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

compareAddress addrtype → Address addrtype → Ordering Source #

(<)Address addrtype → Address addrtype → Bool Source #

(<=)Address addrtype → Address addrtype → Bool Source #

(>)Address addrtype → Address addrtype → Bool Source #

(>=)Address addrtype → Address addrtype → Bool Source #

maxAddress addrtype → Address addrtype → Address addrtype Source #

minAddress addrtype → Address addrtype → Address addrtype Source #

Show (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

showsPrecIntAddress addrtype → ShowS Source #

showAddress addrtype → String Source #

showList ∷ [Address addrtype] → ShowS Source #

HasTypeProxy addrtype ⇒ HasTypeProxy (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType (Address addrtype) Source #

Methods

proxyToAsTypeProxy (Address addrtype) → AsType (Address addrtype) Source #

SerialiseAsRawBytes (Address SophieAddr) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsRawBytes (Address ColeAddr) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsBech32 (Address SophieAddr) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAddress (Address SophieAddr) Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAddress (Address ColeAddr) Source # 
Instance details

Defined in Bcc.Api.Address

data AsType (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)

Cole addresses

data ColeAddr Source #

A type used as a tag to distinguish Cole addresses.

Sophie addresses

Addresses in any era

data AddressAny Source #

Either a Cole address or a Sophie address.

Sometimes we need to be able to work with either of the two types of address (Cole or Sophie addresses), but without reference to an era in which the address will be used. This type serves that purpose.

Instances

Instances details
Eq AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

Ord AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

Show AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

HasTypeProxy AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType AddressAny Source #

SerialiseAsRawBytes AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAddress AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

data AsType AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

Addresses in specific eras

data AddressInEra era where Source #

An Address that can be used in a particular ledger era.

All current ledger eras support Cole addresses. Sophie addresses are supported in the SophieEra and later eras.

Constructors

AddressInEraAddressTypeInEra addrtype era → Address addrtype → AddressInEra era 

Instances

Instances details
Eq (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

(==)AddressInEra era → AddressInEra era → Bool Source #

(/=)AddressInEra era → AddressInEra era → Bool Source #

Show (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

IsBccEra era ⇒ ToJSON (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

toJSONAddressInEra era → Value #

toEncodingAddressInEra era → Encoding #

toJSONList ∷ [AddressInEra era] → Value #

toEncodingList ∷ [AddressInEra era] → Encoding #

HasTypeProxy era ⇒ HasTypeProxy (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType (AddressInEra era) Source #

IsBccEra era ⇒ SerialiseAsRawBytes (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

IsBccEra era ⇒ SerialiseAddress (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

data AsType (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

data AddressTypeInEra addrtype era where Source #

Instances

Instances details
Show (AddressTypeInEra addrtype era) Source # 
Instance details

Defined in Bcc.Api.Address

Methods

showsPrecIntAddressTypeInEra addrtype era → ShowS Source #

showAddressTypeInEra addrtype era → String Source #

showList ∷ [AddressTypeInEra addrtype era] → ShowS Source #

Stake addresses

Constructing and inspecting stake addresses

data StakeAddress where Source #

Constructors

StakeAddress ∷ Network → StakeCredential StandardCrypto → StakeAddress 

Instances

Instances details
Eq StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

Ord StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

Show StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

HasTypeProxy StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

Associated Types

data AsType StakeAddress Source #

SerialiseAsRawBytes StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAsBech32 StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

SerialiseAddress StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

data AsType StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

data StakeKey Source #

Instances

Instances details
HasTypeProxy StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType StakeKey Source #

Key StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole StakeExtendedKey StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (Hash StakeKey) #

labelProxy (Hash StakeKey) → Text #

FromCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

fromCBOR ∷ Decoder s (SigningKey StakeKey) #

labelProxy (SigningKey StakeKey) → Text #

ToCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash StakeKey] → Size #

ToCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeKey] → Size #

ToCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey StakeKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakeKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakeKey] → Size #

SerialiseAsCBOR (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey StakeKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeKey = StakeKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype VerificationKey StakeKey = StakeVerificationKey (VKey 'Staking StandardCrypto)
newtype SigningKey StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey StakeKey = StakeSigningKey (SignKeyDSIGN StandardCrypto)

data StakeExtendedKey Source #

Sophie-era stake keys using extended ed25519 cryptographic keys.

They can be used for Sophie stake addresses and witnessing transactions that use stake addresses.

These extended keys are used by HD wallets. So this type provides interoperability with HD wallets. The ITN CLI also supported this key type.

The extended verification keys can be converted (via castVerificationKey) to ordinary keys (i.e. VerificationKey StakeKey) but this is not the case for the signing keys. The signing keys can be used to witness transactions directly, with verification via their non-extended verification key (VerificationKey StakeKey).

This is a type level tag, used with other interfaces like Key.

Instances

Instances details
HasTypeProxy StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Associated Types

data AsType StakeExtendedKey Source #

Key StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

CastVerificationKeyRole StakeExtendedKey StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Eq (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Ord (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Show (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

IsString (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

FromCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

ToCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORHash StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (Hash StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [Hash StakeExtendedKey] → Size #

ToCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORVerificationKey StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (VerificationKey StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [VerificationKey StakeExtendedKey] → Size #

ToCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Methods

toCBORSigningKey StakeExtendedKey → Encoding #

encodedSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy (SigningKey StakeExtendedKey) → Size #

encodedListSizeExpr ∷ (∀ t. ToCBOR t ⇒ Proxy t → Size) → Proxy [SigningKey StakeExtendedKey] → Size #

SerialiseAsCBOR (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsCBOR (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (Hash StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsRawBytes (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

HasTextEnvelope (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (VerificationKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

SerialiseAsBech32 (SigningKey StakeExtendedKey) Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype Hash StakeExtendedKey = StakeExtendedKeyHash (KeyHash 'Staking StandardCrypto)
newtype VerificationKey StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

newtype SigningKey StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

Internal conversion functions

toSophieAddrAddressInEra era → Addr StandardCrypto Source #

toSophieStakeAddrStakeAddress → RewardAcnt StandardCrypto Source #

toSophieStakeCredentialStakeCredential → StakeCredential StandardCrypto Source #

fromSophieAddrIsSophieBasedEra era ⇒ Addr StandardCrypto → AddressInEra era Source #

fromSophiePaymentCredential ∷ PaymentCredential StandardCrypto → PaymentCredential Source #

fromSophieStakeAddr ∷ RewardAcnt StandardCrypto → StakeAddress Source #

fromSophieStakeCredential ∷ StakeCredential StandardCrypto → StakeCredential Source #

fromSophieStakeReference ∷ StakeReference StandardCrypto → StakeAddressReference Source #

Serialising addresses

class HasTypeProxy addr ⇒ SerialiseAddress addr where Source #

Address serialisation uses different serialisation formats for different kinds of addresses, so it needs its own class.

In particular, Cole addresses are typically formatted in base 58, while Sophie addresses (payment and stake) are formatted using Bech32.

Methods

serialiseAddress ∷ addr → Text Source #

deserialiseAddressAsType addr → TextMaybe addr Source #

Data family instances

data family AsType t Source #

A family of singleton types used in this API to indicate which type to use where it would otherwise be ambiguous or merely unclear.

Values of this type are passed to deserialisation functions for example.

Instances

Instances details
data AsType AurumEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType JenEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType EvieEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType SophieEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType ColeEra Source # 
Instance details

Defined in Bcc.Api.Eras

data AsType TextEnvelope Source # 
Instance details

Defined in Bcc.Api.SerialiseTextEnvelope

data AsType TxMetadata Source # 
Instance details

Defined in Bcc.Api.TxMetadata

data AsType StakePoolKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisVestedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType VestedUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisUTxOKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisDelegateExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisDelegateKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType GenesisKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType StakeExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType StakeKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType PaymentExtendedKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType PaymentKey Source # 
Instance details

Defined in Bcc.Api.KeysSophie

data AsType ScriptData Source # 
Instance details

Defined in Bcc.Api.ScriptData

data AsType ScriptHash Source # 
Instance details

Defined in Bcc.Api.Script

data AsType ScriptInAnyLang Source # 
Instance details

Defined in Bcc.Api.Script

data AsType ZerepochScriptV1 Source # 
Instance details

Defined in Bcc.Api.Script

data AsType SimpleScriptV2 Source # 
Instance details

Defined in Bcc.Api.Script

data AsType SimpleScriptV1 Source # 
Instance details

Defined in Bcc.Api.Script

data AsType ColeKeyLegacy Source # 
Instance details

Defined in Bcc.Api.KeysCole

data AsType ColeKey Source # 
Instance details

Defined in Bcc.Api.KeysCole

data AsType ColeVote Source # 
Instance details

Defined in Bcc.Api.SpecialCole

data AsType ColeUpdateProposal Source # 
Instance details

Defined in Bcc.Api.SpecialCole

data AsType VrfKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

data AsType KesKey Source # 
Instance details

Defined in Bcc.Api.KeysOptimum

data AsType StakePoolMetadata Source # 
Instance details

Defined in Bcc.Api.StakePoolMetadata

data AsType StakeAddress Source # 
Instance details

Defined in Bcc.Api.Address

data AsType AddressAny Source # 
Instance details

Defined in Bcc.Api.Address

data AsType SophieAddr Source # 
Instance details

Defined in Bcc.Api.Address

data AsType ColeAddr Source # 
Instance details

Defined in Bcc.Api.Address

data AsType AssetName Source # 
Instance details

Defined in Bcc.Api.Value

data AsType PolicyId Source # 
Instance details

Defined in Bcc.Api.Value

data AsType UpdateProposal Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

data AsType OptimumNonce Source # 
Instance details

Defined in Bcc.Api.ProtocolParameters

data AsType Certificate Source # 
Instance details

Defined in Bcc.Api.Certificate

data AsType TxId Source # 
Instance details

Defined in Bcc.Api.TxBody

data AsType BlockHeader Source # 
Instance details

Defined in Bcc.Api.Block

data AsType OperationalCertificateIssueCounter Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

data AsType OperationalCertificate Source # 
Instance details

Defined in Bcc.Api.OperationalCertificate

data AsType (Hash a) Source # 
Instance details

Defined in Bcc.Api.Hash

data AsType (Hash a) = AsHash (AsType a)
data AsType (VerificationKey a) Source # 
Instance details

Defined in Bcc.Api.Key

data AsType (SigningKey a) Source # 
Instance details

Defined in Bcc.Api.Key

data AsType (ZerepochScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

data AsType (SimpleScript lang) Source # 
Instance details

Defined in Bcc.Api.Script

data AsType (ScriptInEra era) Source # 
Instance details

Defined in Bcc.Api.Script

data AsType (Script lang) Source # 
Instance details

Defined in Bcc.Api.Script

data AsType (Script lang) = AsScript (AsType lang)
data AsType (AddressInEra era) Source # 
Instance details

Defined in Bcc.Api.Address

data AsType (Address addrtype) Source # 
Instance details

Defined in Bcc.Api.Address

data AsType (Address addrtype) = AsAddress (AsType addrtype)
data AsType (TxBody era) Source # 
Instance details

Defined in Bcc.Api.TxBody

data AsType (TxBody era) = AsTxBody (AsType era)
data AsType (KeyWitness era) Source # 
Instance details

Defined in Bcc.Api.Tx

data AsType (Tx era) Source # 
Instance details

Defined in Bcc.Api.Tx

data AsType (Tx era) = AsTx (AsType era)

Helpers

isKeyAddressAddressInEra era → Bool Source #

Is the UTxO at the address only spendable via a key witness.