cardano-wallet-core-2022.7.1: The Wallet Backend for a Cardano node.
Copyright © 2018-2020 IOHK
License Apache-2.0
Safe Haskell None
Language Haskell2010

Cardano.Wallet.Api.Types

Description

API type representations of various types. We define here pretty much all our user-facing types that are mostly composed with internal / primitive types.

This module also define required API instances (JSON, HttpApiData...) for all those types, making sure to match the specification document:

Wallet API Specification

Synopsis

Wallet Styles

data WalletStyle Source #

Instances

Instances details
type AllowedMnemonics ' Shelley Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Shelley = '[15, 18, 21, 24]

data ByronWalletStyle Source #

Instances

Instances details
Bounded ByronWalletStyle Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Enum ByronWalletStyle Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Eq ByronWalletStyle Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ByronWalletStyle Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ByronWalletStyle Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToText ByronWalletStyle Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText ByronWalletStyle Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ByronWalletStyle Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ByronWalletStyle = D1 (' MetaData "ByronWalletStyle" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) (( C1 (' MetaCons "Random" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Icarus" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "Trezor" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Ledger" ' PrefixI ' False ) ( U1 :: Type -> Type )))
type AllowedMnemonics ' Random Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Random = '[12, 15, 18, 21, 24]
type AllowedMnemonics ' Icarus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Icarus = '[12, 15, 18, 21, 24]
type AllowedMnemonics ' Trezor Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Trezor = '[12, 15, 18, 21, 24]
type AllowedMnemonics ' Ledger Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Ledger = '[12, 15, 18, 21, 24]

type family AllowedMnemonics (style :: k) :: [ Nat ] Source #

Instances

Instances details
type AllowedMnemonics ' Random Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Random = '[12, 15, 18, 21, 24]
type AllowedMnemonics ' Icarus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Icarus = '[12, 15, 18, 21, 24]
type AllowedMnemonics ' Trezor Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Trezor = '[12, 15, 18, 21, 24]
type AllowedMnemonics ' Ledger Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Ledger = '[12, 15, 18, 21, 24]
type AllowedMnemonics ' Shelley Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type AllowedMnemonics ' Shelley = '[15, 18, 21, 24]

API Types

data ApiAsset Source #

data ApiAssetMetadata Source #

Instances

Instances details
Eq ApiAssetMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Ord ApiAssetMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiAssetMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiAssetMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiAssetMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiAssetMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiAssetMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAssetMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiAddress (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiAddress n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiAddress n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiAddress n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Associated Types

type Rep ( ApiAddress n) :: Type -> Type Source #

NFData ( ApiAddress n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiAddress n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiAddress n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiAddress n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiCredential Source #

Instances

Instances details
Eq ApiCredential Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiCredential Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiCredential Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiCredential Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiCredential Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiCredential Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiAddressData Source #

Instances

Instances details
Eq ApiAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAddressData = D1 (' MetaData "ApiAddressData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiAddressData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "address") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiAddressDataPayload ) :*: S1 (' MetaSel (' Just "validationLevel") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ( ApiT ValidationLevel )))))

data ApiAddressDataPayload Source #

Instances

Instances details
Eq ApiAddressDataPayload Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiAddressDataPayload Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiAddressDataPayload Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAddressDataPayload Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data AnyAddress Source #

Instances

Instances details
Eq AnyAddress Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show AnyAddress Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic AnyAddress Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON AnyAddress Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON AnyAddress Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText AnyAddress Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep AnyAddress Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiCertificate Source #

Instances

Instances details
Eq ApiCertificate Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiCertificate Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiCertificate Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiCertificate Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiCertificate Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiCertificate Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiCertificate Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiDelegationAction Source #

Instances

Instances details
Eq ApiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiDelegationAction = D1 (' MetaData "ApiDelegationAction" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "Join" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT PoolId ))) :+: C1 (' MetaCons "Quit" ' PrefixI ' False ) ( U1 :: Type -> Type ))

data ApiEpochInfo Source #

Instances

Instances details
Eq ApiEpochInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiEpochInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiEpochInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiEpochInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiEpochInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiEpochInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiEpochInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiEpochInfo = D1 (' MetaData "ApiEpochInfo" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiEpochInfo" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "epochNumber") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT EpochNo )) :*: S1 (' MetaSel (' Just "epochStartTime") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 UTCTime )))

data ApiSelectCoinsData (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiSelectCoinsData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiSelectCoinsData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiSelectCoinsData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiSelectCoinsData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiSelectCoinsData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiSelectCoinsData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiSelectCoinsPayments (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiSelectCoinsPayments n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiSelectCoinsPayments n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiSelectCoinsPayments n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiSelectCoinsPayments n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiSelectCoinsPayments n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiSelectCoinsPayments n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

newtype ApiSelectCoinsAction Source #

Instances

Instances details
Eq ApiSelectCoinsAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSelectCoinsAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSelectCoinsAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSelectCoinsAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSelectCoinsAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSelectCoinsAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSelectCoinsAction = D1 (' MetaData "ApiSelectCoinsAction" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiSelectCoinsAction" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "delegationAction") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ApiDelegationAction )))

data ApiMintBurnOperation (n :: NetworkDiscriminant ) Source #

A user may choose to either mint tokens or burn tokens with each operation.

Constructors

ApiMint ( ApiMintData n)

Mint tokens.

ApiBurn ApiBurnData

Burn tokens.

Instances

Instances details
Eq ( ApiMintBurnOperation n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiMintBurnOperation n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiMintBurnOperation n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiMintBurnOperation n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiMintBurnOperation n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiMintBurnOperation n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiMintBurnOperation n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiMintData (n :: NetworkDiscriminant ) Source #

The format of a minting request: mint "amount" and send it to the "address".

Constructors

ApiMintData

Fields

Instances

Instances details
Eq ( ApiMintData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiMintData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiMintData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Associated Types

type Rep ( ApiMintData n) :: Type -> Type Source #

NFData ( ApiMintData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiMintData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiMintData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiMintData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiMintData n) = D1 (' MetaData "ApiMintData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiMintData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "receivingAddress") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe ( ApiT Address , Proxy n))) :*: S1 (' MetaSel (' Just "quantity") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Natural )))

newtype ApiBurnData Source #

The format of a burn request: burn "amount". The user can only specify the type of tokens to burn (policyId, assetName), and the amount, the exact tokens selected are up to the implementation.

Instances

Instances details
Eq ApiBurnData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiBurnData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiBurnData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiBurnData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiBurnData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiBurnData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiBurnData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiBurnData = D1 (' MetaData "ApiBurnData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiBurnData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "quantity") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Natural )))

data ApiCoinSelection (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiCoinSelection n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiCoinSelection n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiCoinSelection n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiCoinSelection n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( EncodeStakeAddress n, EncodeAddress n) => ToJSON ( ApiCoinSelection n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( DecodeStakeAddress n, DecodeAddress n) => FromJSON ( ApiCoinSelection n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiCoinSelection n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiCoinSelectionChange (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiCoinSelectionChange n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiCoinSelectionChange n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiCoinSelectionChange n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiCoinSelectionChange n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiCoinSelectionChange n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiCoinSelectionChange n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiCoinSelectionChange n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiCoinSelectionCollateral (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiCoinSelectionCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiCoinSelectionCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiCoinSelectionCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiCoinSelectionCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiCoinSelectionCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiCoinSelectionCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiCoinSelectionCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiCoinSelectionOutput (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiCoinSelectionOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( TypeError (' Text "Ord not supported for token maps") :: Constraint ) => Ord ( ApiCoinSelectionOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiCoinSelectionOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiCoinSelectionOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiCoinSelectionOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Hashable ( ApiCoinSelectionOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiCoinSelectionOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiCoinSelectionOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiCoinSelectionOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiCoinSelectionWithdrawal n Source #

Instances

Instances details
Eq ( ApiCoinSelectionWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiCoinSelectionWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiCoinSelectionWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiCoinSelectionWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeStakeAddress n => ToJSON ( ApiCoinSelectionWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeStakeAddress n => FromJSON ( ApiCoinSelectionWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiCoinSelectionWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiMintBurnData (n :: NetworkDiscriminant ) Source #

Core minting and burning request information.

Assets are minted and burned under a "policy". The policy defines under what circumstances a token may be minted and burned. The policy is the hash of a serialized script that contains verification keys and timelocks combined in conditions, possibly nested, to accommodate non-trivial time conditions. In the non-multisig case the script regulating minting/burning will contain a verification key via cosigner#0 of the wallet with optional time predicates. In the multisig case the script regulating minting/burning will contain verification keys of signers (via cosigner#N) with optional time predicates. The used key derivation index is the same for all engaged derivation keys and ix=0 is assumed to be used. The verification key derivation is performed according to CIP 1855.

Constructors

ApiMintBurnData

Fields

Instances

Instances details
Eq ( ApiMintBurnData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiMintBurnData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiMintBurnData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiMintBurnData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiMintBurnData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiMintBurnData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiMintBurnData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiStakePool Source #

Instances

Instances details
Eq ApiStakePool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiStakePool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiStakePool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiStakePool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiStakePool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiStakePool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiStakePoolMetrics Source #

Instances

Instances details
Eq ApiStakePoolMetrics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiStakePoolMetrics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiStakePoolMetrics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiStakePoolMetrics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiStakePoolMetrics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiStakePoolMetrics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiStakePoolMetrics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiStakePoolFlag Source #

Constructors

Delisted

Instances

Instances details
Eq ApiStakePoolFlag Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiStakePoolFlag Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiStakePoolFlag Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiStakePoolFlag Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiStakePoolFlag Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiStakePoolFlag Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiStakePoolFlag Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiStakePoolFlag = D1 (' MetaData "ApiStakePoolFlag" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "Delisted" ' PrefixI ' False ) ( U1 :: Type -> Type ))

data ApiWallet Source #

Instances

Instances details
Eq ApiWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiWalletBalance Source #

Constructors

ApiWalletBalance

Fields

Instances

Instances details
Eq ApiWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiWalletAssetsBalance Source #

Instances

Instances details
Eq ApiWalletAssetsBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletAssetsBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletAssetsBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletAssetsBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletAssetsBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletAssetsBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletAssetsBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletAssetsBalance = D1 (' MetaData "ApiWalletAssetsBalance" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiWalletAssetsBalance" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "available") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT TokenMap )) :*: S1 (' MetaSel (' Just "total") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT TokenMap ))))

data ApiWalletMode Source #

Constructors

Light
Node

Instances

Instances details
Eq ApiWalletMode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletMode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletMode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletMode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletMode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletMode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletMode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletMode = D1 (' MetaData "ApiWalletMode" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "Light" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Node" ' PrefixI ' False ) ( U1 :: Type -> Type ))

newtype ApiWalletPassphrase Source #

Instances

Instances details
Eq ApiWalletPassphrase Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletPassphrase Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletPassphrase Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletPassphrase Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletPassphrase Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletPassphrase Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletPassphrase Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletPassphrase = D1 (' MetaData "ApiWalletPassphrase" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiWalletPassphrase" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "passphrase") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT ( Passphrase "lenient")))))

newtype ApiWalletPassphraseInfo Source #

Instances

Instances details
Eq ApiWalletPassphraseInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletPassphraseInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletPassphraseInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletPassphraseInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletPassphraseInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletPassphraseInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletPassphraseInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletPassphraseInfo = D1 (' MetaData "ApiWalletPassphraseInfo" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiWalletPassphraseInfo" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "lastUpdatedAt") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 UTCTime )))

newtype ApiWalletUtxoSnapshot Source #

Instances

Instances details
Eq ApiWalletUtxoSnapshot Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletUtxoSnapshot Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletUtxoSnapshot Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletUtxoSnapshot Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletUtxoSnapshot Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletUtxoSnapshot Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletUtxoSnapshot Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletUtxoSnapshot = D1 (' MetaData "ApiWalletUtxoSnapshot" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiWalletUtxoSnapshot" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "entries") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 [ ApiWalletUtxoSnapshotEntry ])))

data ApiWalletUtxoSnapshotEntry Source #

Instances

Instances details
Eq ApiWalletUtxoSnapshotEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletUtxoSnapshotEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletUtxoSnapshotEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletUtxoSnapshotEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletUtxoSnapshotEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletUtxoSnapshotEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletUtxoSnapshotEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiUtxoStatistics Source #

Instances

Instances details
Eq ApiUtxoStatistics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiUtxoStatistics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiUtxoStatistics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiUtxoStatistics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiUtxoStatistics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiUtxoStatistics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiUtxoStatistics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data WalletPostData Source #

newtype WalletPutData Source #

Instances

Instances details
Eq WalletPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show WalletPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic WalletPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON WalletPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON WalletPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep WalletPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep WalletPutData = D1 (' MetaData "WalletPutData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "WalletPutData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "name") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe ( ApiT WalletName )))))

newtype SettingsPutData Source #

Instances

Instances details
Eq SettingsPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show SettingsPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic SettingsPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON SettingsPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON SettingsPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep SettingsPutData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep SettingsPutData = D1 (' MetaData "SettingsPutData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "SettingsPutData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "settings") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT Settings ))))

newtype WalletPutPassphraseData Source #

Instances

Instances details
Eq WalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show WalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic WalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON WalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON WalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep WalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data WalletPutPassphraseOldPassphraseData Source #

Instances

Instances details
Eq WalletPutPassphraseOldPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show WalletPutPassphraseOldPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic WalletPutPassphraseOldPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON WalletPutPassphraseOldPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON WalletPutPassphraseOldPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep WalletPutPassphraseOldPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep WalletPutPassphraseOldPassphraseData = D1 (' MetaData "WalletPutPassphraseOldPassphraseData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "WalletPutPassphraseOldPassphraseData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "oldPassphrase") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT ( Passphrase "user"))) :*: S1 (' MetaSel (' Just "newPassphrase") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT ( Passphrase "user")))))

data WalletPutPassphraseMnemonicData Source #

Instances

Instances details
Eq WalletPutPassphraseMnemonicData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show WalletPutPassphraseMnemonicData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic WalletPutPassphraseMnemonicData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON WalletPutPassphraseMnemonicData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON WalletPutPassphraseMnemonicData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep WalletPutPassphraseMnemonicData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiSignTransactionPostData Source #

Instances

Instances details
Eq ApiSignTransactionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSignTransactionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSignTransactionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSignTransactionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSignTransactionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSignTransactionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSignTransactionPostData = D1 (' MetaData "ApiSignTransactionPostData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiSignTransactionPostData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "transaction") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT SealedTx )) :*: S1 (' MetaSel (' Just "passphrase") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT ( Passphrase "lenient")))))

data PostTransactionOldData (n :: NetworkDiscriminant ) Source #

Legacy transaction API.

Instances

Instances details
Eq ( PostTransactionOldData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( PostTransactionOldData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( PostTransactionOldData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress t => ToJSON ( PostTransactionOldData t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress t => FromJSON ( PostTransactionOldData t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( PostTransactionOldData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data PostTransactionFeeOldData (n :: NetworkDiscriminant ) Source #

Legacy transaction API.

Instances

Instances details
Eq ( PostTransactionFeeOldData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( PostTransactionFeeOldData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( PostTransactionFeeOldData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress t => ToJSON ( PostTransactionFeeOldData t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress t => FromJSON ( PostTransactionFeeOldData t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( PostTransactionFeeOldData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

newtype ApiSerialisedTransaction Source #

Instances

Instances details
Eq ApiSerialisedTransaction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSerialisedTransaction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSerialisedTransaction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiSerialisedTransaction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSerialisedTransaction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSerialisedTransaction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

MimeRender OctetStream ApiSerialisedTransaction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSerialisedTransaction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSerialisedTransaction = D1 (' MetaData "ApiSerialisedTransaction" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiSerialisedTransaction" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "transaction") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT SealedTx ))))

data ApiTransaction (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( EncodeAddress n, EncodeStakeAddress n) => ToJSON ( ApiTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( DecodeAddress n, DecodeStakeAddress n) => FromJSON ( ApiTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiWithdrawalPostData Source #

Instances

Instances details
Eq ApiWithdrawalPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWithdrawalPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWithdrawalPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWithdrawalPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWithdrawalPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWithdrawalPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWithdrawalPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWithdrawalPostData = D1 (' MetaData "ApiWithdrawalPostData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "SelfWithdrawal" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "ExternalWithdrawal" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiMnemonicT '[15, 18, 21, 24]))))

newtype ApiMaintenanceAction Source #

Instances

Instances details
Eq ApiMaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiMaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiMaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiMaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiMaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiMaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiMaintenanceAction = D1 (' MetaData "ApiMaintenanceAction" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiMaintenanceAction" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "gcStakePools") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT PoolMetadataGCStatus ))))

newtype ApiMaintenanceActionPostData Source #

Instances

Instances details
Eq ApiMaintenanceActionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiMaintenanceActionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiMaintenanceActionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiMaintenanceActionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiMaintenanceActionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiMaintenanceActionPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiMaintenanceActionPostData = D1 (' MetaData "ApiMaintenanceActionPostData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiMaintenanceActionPostData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "maintenanceAction") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 MaintenanceAction )))

data MaintenanceAction Source #

Constructors

GcStakePools

Instances

Instances details
Eq MaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show MaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic MaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON MaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON MaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep MaintenanceAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep MaintenanceAction = D1 (' MetaData "MaintenanceAction" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "GcStakePools" ' PrefixI ' False ) ( U1 :: Type -> Type ))

data ApiFee Source #

Instances

Instances details
Eq ApiFee Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiFee Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiFee Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiFee Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiFee Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiFee Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiTxCollateral (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiTxCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiTxCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiTxCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiTxCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiTxCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiTxCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiTxCollateral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

newtype ApiTxId Source #

Constructors

ApiTxId

Fields

Instances

Instances details
Eq ApiTxId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiTxId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiTxId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiTxId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiTxId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiTxId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToHttpApiData ApiTxId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromHttpApiData ApiTxId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiTxId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiTxId = D1 (' MetaData "ApiTxId" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiTxId" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "id") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT ( Hash "Tx")))))

data ApiTxInput (n :: NetworkDiscriminant ) Source #

Constructors

ApiTxInput

Fields

newtype ApiTxMetadata Source #

Instances

Instances details
Eq ApiTxMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiTxMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiTxMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiTxMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiTxMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiTxMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiTxMetadata Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiTxMetadata = D1 (' MetaData "ApiTxMetadata" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiTxMetadata" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getApiTxMetadata") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Maybe ( ApiT TxMetadata )))))

data AddressAmount addr Source #

Instances

Instances details
Eq addr => Eq ( AddressAmount addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show addr => Show ( AddressAmount addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( AddressAmount addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Associated Types

type Rep ( AddressAmount addr) :: Type -> Type Source #

NFData addr => NFData ( AddressAmount addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON a => ToJSON ( AddressAmount a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON a => FromJSON ( AddressAmount a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText ( AddressAmount Text ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( AddressAmount addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data AddressAmountNoAssets addr Source #

Constructors

AddressAmountNoAssets

Fields

Instances

Instances details
Eq addr => Eq ( AddressAmountNoAssets addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show addr => Show ( AddressAmountNoAssets addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( AddressAmountNoAssets addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData addr => NFData ( AddressAmountNoAssets addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON a => ToJSON ( AddressAmountNoAssets a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON a => FromJSON ( AddressAmountNoAssets a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( AddressAmountNoAssets addr) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( AddressAmountNoAssets addr) = D1 (' MetaData "AddressAmountNoAssets" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "AddressAmountNoAssets" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "address") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 addr) :*: S1 (' MetaSel (' Just "amount") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "lovelace" Natural ))))

newtype ApiAddressInspect Source #

Instances

Instances details
Eq ApiAddressInspect Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiAddressInspect Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiAddressInspect Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiAddressInspect Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiAddressInspect Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiAddressInspect Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAddressInspect Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAddressInspect = D1 (' MetaData "ApiAddressInspect" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiAddressInspect" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "unApiAddressInspect") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Value )))

newtype ApiAddressInspectData Source #

Instances

Instances details
Eq ApiAddressInspectData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiAddressInspectData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

IsString ApiAddressInspectData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiAddressInspectData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiAddressInspectData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToHttpApiData ApiAddressInspectData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromHttpApiData ApiAddressInspectData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAddressInspectData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAddressInspectData = D1 (' MetaData "ApiAddressInspectData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiAddressInspectData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "unApiAddressInspectData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Text )))

data ApiErrorCode Source #

Error codes returned by the API, in the form of snake_cased strings

Constructors

AddressAlreadyExists
AlreadyWithdrawing
AssetNameTooLong
AssetNotPresent
BadRequest
BalanceTxByronNotSupported
BalanceTxConflictingNetworks
BalanceTxExistingCollateral
BalanceTxExistingKeyWitnesses
BalanceTxExistingReturnCollateral
BalanceTxExistingTotalCollateral
BalanceTxInternalError
BalanceTxMaxSizeLimitExceeded
BalanceTxUnderestimatedFee
BalanceTxZeroAdaOutput
CannotCoverFee
CreatedInvalidTransaction
CreatedMultiaccountTransaction
CreatedMultidelegationTransaction
CreatedWrongPolicyScriptTemplate
ExistingKeyWitnesses
ForeignTransaction
HardenedDerivationRequired
InputsDepleted
InsufficientCollateral
InvalidCoinSelection
InvalidWalletType
InvalidValidityBounds
KeyNotFoundForAddress
MalformedTxPayload
MethodNotAllowed
MinWithdrawalWrong
MintOrBurnAssetQuantityOutOfBounds
MissingPolicyPublicKey
MissingWitnessesInTransaction
NetworkMisconfigured
NetworkQueryFailed
NetworkUnreachable
NoRootKey
NoSuchPool
NoSuchTransaction
NoSuchWallet
NonNullRewards
NotAcceptable
NotDelegatingTo
NotEnoughMoney
NotFound
NotImplemented
NotSynced
NothingToMigrate
OutputTokenBundleSizeExceedsLimit
OutputTokenQuantityExceedsLimit
PastHorizon
PoolAlreadyJoined
QueryParamMissing
RedeemerInvalidData
RedeemerScriptFailure
RedeemerTargetNotFound
RejectedByCoreNode
SharedWalletCannotUpdateKey
SharedWalletKeyAlreadyExists
SharedWalletNoDelegationTemplate
SharedWalletNoSuchCosigner
SharedWalletNotPending
SharedWalletPending
SharedWalletScriptTemplateInvalid
SoftDerivationRequired
StartTimeLaterThanEndTime
TokensMintedButNotSpentOrBurned
TransactionAlreadyBalanced
TransactionAlreadyInLedger
TransactionIsTooBig
TranslationError
UnableToAssignInputOutput
UnableToDetermineCurrentEpoch
UnexpectedError
UnresolvedInputs
UnsupportedMediaType
UtxoTooSmall
WalletAlreadyExists
WalletNotResponding
WithdrawalNotWorth
WrongEncryptionPassphrase
WrongMnemonic
ValidityIntervalNotInsideScriptTimelock

Instances

Instances details
Eq ApiErrorCode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Data ApiErrorCode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Methods

gfoldl :: ( forall d b. Data d => c (d -> b) -> d -> c b) -> ( forall g. g -> c g) -> ApiErrorCode -> c ApiErrorCode Source #

gunfold :: ( forall b r. Data b => c (b -> r) -> c r) -> ( forall r. r -> c r) -> Constr -> c ApiErrorCode Source #

toConstr :: ApiErrorCode -> Constr Source #

dataTypeOf :: ApiErrorCode -> DataType Source #

dataCast1 :: Typeable t => ( forall d. Data d => c (t d)) -> Maybe (c ApiErrorCode ) Source #

dataCast2 :: Typeable t => ( forall d e. ( Data d, Data e) => c (t d e)) -> Maybe (c ApiErrorCode ) Source #

gmapT :: ( forall b. Data b => b -> b) -> ApiErrorCode -> ApiErrorCode Source #

gmapQl :: (r -> r' -> r) -> r -> ( forall d. Data d => d -> r') -> ApiErrorCode -> r Source #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> ( forall d. Data d => d -> r') -> ApiErrorCode -> r Source #

gmapQ :: ( forall d. Data d => d -> u) -> ApiErrorCode -> [u] Source #

gmapQi :: Int -> ( forall d. Data d => d -> u) -> ApiErrorCode -> u Source #

gmapM :: Monad m => ( forall d. Data d => d -> m d) -> ApiErrorCode -> m ApiErrorCode Source #

gmapMp :: MonadPlus m => ( forall d. Data d => d -> m d) -> ApiErrorCode -> m ApiErrorCode Source #

gmapMo :: MonadPlus m => ( forall d. Data d => d -> m d) -> ApiErrorCode -> m ApiErrorCode Source #

Show ApiErrorCode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiErrorCode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiErrorCode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiErrorCode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiErrorCode Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiErrorCode = D1 (' MetaData "ApiErrorCode" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) (((((( C1 (' MetaCons "AddressAlreadyExists" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "AlreadyWithdrawing" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "AssetNameTooLong" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "AssetNotPresent" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "BadRequest" ' PrefixI ' False ) ( U1 :: Type -> Type )))) :+: (( C1 (' MetaCons "BalanceTxByronNotSupported" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "BalanceTxConflictingNetworks" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "BalanceTxExistingCollateral" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "BalanceTxExistingKeyWitnesses" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "BalanceTxExistingReturnCollateral" ' PrefixI ' False ) ( U1 :: Type -> Type ))))) :+: ((( C1 (' MetaCons "BalanceTxExistingTotalCollateral" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "BalanceTxInternalError" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "BalanceTxMaxSizeLimitExceeded" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "BalanceTxUnderestimatedFee" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "BalanceTxZeroAdaOutput" ' PrefixI ' False ) ( U1 :: Type -> Type )))) :+: (( C1 (' MetaCons "CannotCoverFee" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "CreatedInvalidTransaction" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "CreatedMultiaccountTransaction" ' PrefixI ' False ) ( U1 :: Type -> Type ))) :+: ( C1 (' MetaCons "CreatedMultidelegationTransaction" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "CreatedWrongPolicyScriptTemplate" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "ExistingKeyWitnesses" ' PrefixI ' False ) ( U1 :: Type -> Type )))))) :+: (((( C1 (' MetaCons "ForeignTransaction" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "HardenedDerivationRequired" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "InputsDepleted" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "InsufficientCollateral" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "InvalidCoinSelection" ' PrefixI ' False ) ( U1 :: Type -> Type )))) :+: (( C1 (' MetaCons "InvalidWalletType" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "InvalidValidityBounds" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "KeyNotFoundForAddress" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "MalformedTxPayload" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "MethodNotAllowed" ' PrefixI ' False ) ( U1 :: Type -> Type ))))) :+: ((( C1 (' MetaCons "MinWithdrawalWrong" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "MintOrBurnAssetQuantityOutOfBounds" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "MissingPolicyPublicKey" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "MissingWitnessesInTransaction" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NetworkMisconfigured" ' PrefixI ' False ) ( U1 :: Type -> Type )))) :+: (( C1 (' MetaCons "NetworkQueryFailed" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "NetworkUnreachable" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NoRootKey" ' PrefixI ' False ) ( U1 :: Type -> Type ))) :+: ( C1 (' MetaCons "NoSuchPool" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "NoSuchTransaction" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NoSuchWallet" ' PrefixI ' False ) ( U1 :: Type -> Type ))))))) :+: ((((( C1 (' MetaCons "NonNullRewards" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NotAcceptable" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "NotDelegatingTo" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "NotEnoughMoney" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NotFound" ' PrefixI ' False ) ( U1 :: Type -> Type )))) :+: (( C1 (' MetaCons "NotImplemented" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NotSynced" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "NothingToMigrate" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "OutputTokenBundleSizeExceedsLimit" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "OutputTokenQuantityExceedsLimit" ' PrefixI ' False ) ( U1 :: Type -> Type ))))) :+: ((( C1 (' MetaCons "PastHorizon" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "PoolAlreadyJoined" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "QueryParamMissing" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "RedeemerInvalidData" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "RedeemerScriptFailure" ' PrefixI ' False ) ( U1 :: Type -> Type )))) :+: (( C1 (' MetaCons "RedeemerTargetNotFound" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "RejectedByCoreNode" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "SharedWalletCannotUpdateKey" ' PrefixI ' False ) ( U1 :: Type -> Type ))) :+: ( C1 (' MetaCons "SharedWalletKeyAlreadyExists" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "SharedWalletNoDelegationTemplate" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "SharedWalletNoSuchCosigner" ' PrefixI ' False ) ( U1 :: Type -> Type )))))) :+: (((( C1 (' MetaCons "SharedWalletNotPending" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "SharedWalletPending" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "SharedWalletScriptTemplateInvalid" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "SoftDerivationRequired" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "StartTimeLaterThanEndTime" ' PrefixI ' False ) ( U1 :: Type -> Type )))) :+: (( C1 (' MetaCons "TokensMintedButNotSpentOrBurned" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "TransactionAlreadyBalanced" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "TransactionAlreadyInLedger" ' PrefixI ' False ) ( U1 :: Type -> Type ))) :+: ( C1 (' MetaCons "TransactionIsTooBig" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "TranslationError" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "UnableToAssignInputOutput" ' PrefixI ' False ) ( U1 :: Type -> Type ))))) :+: ((( C1 (' MetaCons "UnableToDetermineCurrentEpoch" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "UnexpectedError" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "UnresolvedInputs" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "UnsupportedMediaType" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "UtxoTooSmall" ' PrefixI ' False ) ( U1 :: Type -> Type )))) :+: (( C1 (' MetaCons "WalletAlreadyExists" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "WalletNotResponding" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "WithdrawalNotWorth" ' PrefixI ' False ) ( U1 :: Type -> Type ))) :+: ( C1 (' MetaCons "WrongEncryptionPassphrase" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "WrongMnemonic" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "ValidityIntervalNotInsideScriptTimelock" ' PrefixI ' False ) ( U1 :: Type -> Type ))))))))

data ApiNetworkInformation Source #

Instances

Instances details
Eq ApiNetworkInformation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiNetworkInformation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiNetworkInformation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiNetworkInformation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiNetworkInformation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiNetworkInformation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNetworkInformation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiEra Source #

Instances

Instances details
Bounded ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Enum ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Eq ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Ord ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiEra Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiEra = D1 (' MetaData "ApiEra" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) (( C1 (' MetaCons "ApiByron" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "ApiShelley" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "ApiAllegra" ' PrefixI ' False ) ( U1 :: Type -> Type ))) :+: ( C1 (' MetaCons "ApiMary" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "ApiAlonzo" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "ApiBabbage" ' PrefixI ' False ) ( U1 :: Type -> Type ))))

data ApiNtpStatus Source #

Instances

Instances details
Eq ApiNtpStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiNtpStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiNtpStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiNtpStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiNtpStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiNtpStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNtpStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNtpStatus = D1 (' MetaData "ApiNtpStatus" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiNtpStatus" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "status") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 NtpSyncingStatus ) :*: S1 (' MetaSel (' Just "offset") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ( Quantity "microsecond" Integer )))))

data NtpSyncingStatus Source #

Instances

Instances details
Eq NtpSyncingStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show NtpSyncingStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic NtpSyncingStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData NtpSyncingStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON NtpSyncingStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON NtpSyncingStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToText NtpSyncingStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText NtpSyncingStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep NtpSyncingStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep NtpSyncingStatus = D1 (' MetaData "NtpSyncingStatus" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "NtpSyncingStatusUnavailable" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "NtpSyncingStatusPending" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NtpSyncingStatusAvailable" ' PrefixI ' False ) ( U1 :: Type -> Type )))

newtype ApiNetworkClock Source #

Instances

Instances details
Eq ApiNetworkClock Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiNetworkClock Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiNetworkClock Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiNetworkClock Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiNetworkClock Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiNetworkClock Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNetworkClock Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNetworkClock = D1 (' MetaData "ApiNetworkClock" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiNetworkClock" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "ntpStatus") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ApiNtpStatus )))

data ApiSlotReference Source #

Instances

Instances details
Eq ApiSlotReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSlotReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSlotReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiSlotReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSlotReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSlotReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSlotReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiSlotId Source #

Instances

Instances details
Eq ApiSlotId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSlotId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSlotId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiSlotId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSlotId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSlotId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSlotId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSlotId = D1 (' MetaData "ApiSlotId" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiSlotId" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "epochNumber") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT EpochNo )) :*: S1 (' MetaSel (' Just "slotNumber") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT SlotInEpoch ))))

data ApiBlockReference Source #

Instances

Instances details
Eq ApiBlockReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiBlockReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiBlockReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiBlockReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiBlockReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiBlockReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiBlockReference Source #
Instance details

Defined in Cardano.Wallet.Api.Types

newtype ApiBlockInfo Source #

Constructors

ApiBlockInfo

Instances

Instances details
Eq ApiBlockInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiBlockInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiBlockInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiBlockInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiBlockInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiBlockInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiBlockInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiBlockInfo = D1 (' MetaData "ApiBlockInfo" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiBlockInfo" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "height") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Quantity "block" Natural ))))

data ApiStakeKeys (n :: NetworkDiscriminant ) Source #

Collection of stake keys associated with a wallet.

Instances

Instances details
Eq ( ApiStakeKeys n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiStakeKeys n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiStakeKeys n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Associated Types

type Rep ( ApiStakeKeys n) :: Type -> Type Source #

EncodeStakeAddress n => ToJSON ( ApiStakeKeys n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeStakeAddress n => FromJSON ( ApiStakeKeys n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiStakeKeys n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiOurStakeKey (n :: NetworkDiscriminant ) Source #

A stake key belonging to the current wallet.

Constructors

ApiOurStakeKey

Fields

Instances

Instances details
Eq ( ApiOurStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiOurStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiOurStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeStakeAddress n => ToJSON ( ApiOurStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeStakeAddress n => FromJSON ( ApiOurStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiOurStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiForeignStakeKey (n :: NetworkDiscriminant ) Source #

A stake key found in the wallet UTxO, but which isn't ours.

We could provide the current delegation status for foreign stake keys.

Constructors

ApiForeignStakeKey

Fields

Instances

Instances details
Eq ( ApiForeignStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiForeignStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiForeignStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeStakeAddress n => ToJSON ( ApiForeignStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeStakeAddress n => FromJSON ( ApiForeignStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiForeignStakeKey n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

newtype ApiNullStakeKey Source #

For describing how much stake is associated with no stake key.

Constructors

ApiNullStakeKey

Fields

  • _stake :: Quantity "lovelace" Natural

    The total stake of the wallet UTxO that is not associated with a stake key, because it's part of an enterprise address.

Instances

Instances details
Eq ApiNullStakeKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiNullStakeKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiNullStakeKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiNullStakeKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiNullStakeKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNullStakeKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNullStakeKey = D1 (' MetaData "ApiNullStakeKey" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiNullStakeKey" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_stake") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Quantity "lovelace" Natural ))))

newtype Iso8601Time Source #

Defines a point in time that can be formatted as and parsed from an ISO 8601-compliant string.

Instances

Instances details
Eq Iso8601Time Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Ord Iso8601Time Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show Iso8601Time Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic Iso8601Time Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToHttpApiData Iso8601Time Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromHttpApiData Iso8601Time Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToText Iso8601Time Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText Iso8601Time Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT Iso8601Time ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT Iso8601Time ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep Iso8601Time Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep Iso8601Time = D1 (' MetaData "Iso8601Time" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "Iso8601Time" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getIso8601Time") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 UTCTime )))

newtype MinWithdrawal Source #

Instances

Instances details
Show MinWithdrawal Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic MinWithdrawal Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToHttpApiData MinWithdrawal Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromHttpApiData MinWithdrawal Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep MinWithdrawal Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep MinWithdrawal = D1 (' MetaData "MinWithdrawal" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "MinWithdrawal" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getMinWithdrawal") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Natural )))

data ApiNetworkParameters Source #

Instances

Instances details
Eq ApiNetworkParameters Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiNetworkParameters Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiNetworkParameters Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiNetworkParameters Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiNetworkParameters Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNetworkParameters Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNetworkParameters = D1 (' MetaData "ApiNetworkParameters" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiNetworkParameters" ' PrefixI ' True ) ((( S1 (' MetaSel (' Just "genesisBlockHash") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT ( Hash "Genesis"))) :*: ( S1 (' MetaSel (' Just "blockchainStartTime") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT StartTime )) :*: S1 (' MetaSel (' Just "slotLength") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "second" NominalDiffTime )))) :*: (( S1 (' MetaSel (' Just "epochLength") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "slot" Word32 )) :*: S1 (' MetaSel (' Just "securityParameter") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "block" Word32 ))) :*: ( S1 (' MetaSel (' Just "activeSlotCoefficient") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "percent" Double )) :*: S1 (' MetaSel (' Just "decentralizationLevel") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "percent" Percentage ))))) :*: (( S1 (' MetaSel (' Just "desiredPoolNumber") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 Word16 ) :*: ( S1 (' MetaSel (' Just "minimumUtxoValue") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "lovelace" Natural )) :*: S1 (' MetaSel (' Just "maximumTokenBundleSize") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "byte" Natural )))) :*: (( S1 (' MetaSel (' Just "eras") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiEraInfo ) :*: S1 (' MetaSel (' Just "maximumCollateralInputCount") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 Word16 )) :*: ( S1 (' MetaSel (' Just "minimumCollateralPercentage") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 Natural ) :*: S1 (' MetaSel (' Just "executionUnitPrices") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ExecutionUnitPrices )))))))

data ApiNetworkInfo Source #

Instances

Instances details
Eq ApiNetworkInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiNetworkInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiNetworkInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiNetworkInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiNetworkInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiNetworkInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNetworkInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiNetworkInfo = D1 (' MetaData "ApiNetworkInfo" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiNetworkInfo" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "networkId") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 Text ) :*: S1 (' MetaSel (' Just "protocolMagic") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 Integer )))

data ApiEraInfo Source #

Instances

Instances details
Eq ApiEraInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiEraInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiEraInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiEraInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiEraInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiEraInfo Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiWalletDelegation Source #

Instances

Instances details
Eq ApiWalletDelegation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletDelegation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletDelegation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletDelegation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletDelegation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletDelegation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletDelegation Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiWalletDelegationStatus Source #

Instances

Instances details
Eq ApiWalletDelegationStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletDelegationStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletDelegationStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletDelegationStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletDelegationStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletDelegationStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletDelegationStatus Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletDelegationStatus = D1 (' MetaData "ApiWalletDelegationStatus" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "NotDelegating" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Delegating" ' PrefixI ' False ) ( U1 :: Type -> Type ))

data ApiWalletDelegationNext Source #

Instances

Instances details
Eq ApiWalletDelegationNext Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletDelegationNext Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletDelegationNext Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletDelegationNext Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletDelegationNext Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletDelegationNext Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletDelegationNext Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiPoolId Source #

Instances

Instances details
Eq ApiPoolId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiPoolId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiPoolId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToHttpApiData ApiPoolId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromHttpApiData ApiPoolId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPoolId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPoolId = D1 (' MetaData "ApiPoolId" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiPoolIdPlaceholder" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "ApiPoolId" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 PoolId )))

newtype ApiWalletMigrationPlanPostData (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiWalletMigrationPlanPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiWalletMigrationPlanPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiWalletMigrationPlanPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiWalletMigrationPlanPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiWalletMigrationPlanPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiWalletMigrationPlanPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWalletMigrationPlanPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWalletMigrationPlanPostData n) = D1 (' MetaData "ApiWalletMigrationPlanPostData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiWalletMigrationPlanPostData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "addresses") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( NonEmpty ( ApiT Address , Proxy n)))))

data ApiWalletMigrationPostData (n :: NetworkDiscriminant ) (s :: Symbol ) Source #

Instances

Instances details
Eq ( ApiWalletMigrationPostData n s) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiWalletMigrationPostData n s) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiWalletMigrationPostData n s) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiWalletMigrationPostData n s) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiWalletMigrationPostData n s) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( DecodeAddress n, PassphraseMaxLength s, PassphraseMinLength s) => FromJSON ( ApiWalletMigrationPostData n s) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWalletMigrationPostData n s) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWalletMigrationPostData n s) = D1 (' MetaData "ApiWalletMigrationPostData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiWalletMigrationPostData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "passphrase") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT ( Passphrase s))) :*: S1 (' MetaSel (' Just "addresses") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( NonEmpty ( ApiT Address , Proxy n)))))

data ApiWalletMigrationBalance Source #

Instances

Instances details
Eq ApiWalletMigrationBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletMigrationBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletMigrationBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletMigrationBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletMigrationBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletMigrationBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletMigrationBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletMigrationBalance = D1 (' MetaData "ApiWalletMigrationBalance" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiWalletMigrationBalance" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "ada") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "lovelace" Natural )) :*: S1 (' MetaSel (' Just "assets") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT TokenMap ))))

data ApiWalletMigrationPlan (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiWalletMigrationPlan n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiWalletMigrationPlan n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiWalletMigrationPlan n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiWalletMigrationPlan n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( EncodeStakeAddress n, EncodeAddress n) => ToJSON ( ApiWalletMigrationPlan n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( DecodeStakeAddress n, DecodeAddress n) => FromJSON ( ApiWalletMigrationPlan n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWalletMigrationPlan n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiWithdrawal n Source #

Instances

Instances details
Eq ( ApiWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeStakeAddress n => ToJSON ( ApiWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeStakeAddress n => FromJSON ( ApiWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWithdrawal n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWithdrawal n) = D1 (' MetaData "ApiWithdrawal" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiWithdrawal" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "stakeAddress") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT RewardAccount , Proxy n)) :*: S1 (' MetaSel (' Just "amount") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "lovelace" Natural ))))

data ApiWalletSignData Source #

Instances

Instances details
Eq ApiWalletSignData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletSignData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletSignData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletSignData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletSignData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletSignData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletSignData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletSignData = D1 (' MetaData "ApiWalletSignData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiWalletSignData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "metadata") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT TxMetadata )) :*: S1 (' MetaSel (' Just "passphrase") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT ( Passphrase "lenient")))))

data ApiVerificationKeyShelley Source #

Instances

Instances details
Eq ApiVerificationKeyShelley Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiVerificationKeyShelley Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiVerificationKeyShelley Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiVerificationKeyShelley Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiVerificationKeyShelley Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiVerificationKeyShelley Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiVerificationKeyShelley Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiVerificationKeyShelley = D1 (' MetaData "ApiVerificationKeyShelley" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiVerificationKeyShelley" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getApiVerificationKey") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ByteString , Role )) :*: S1 (' MetaSel (' Just "hashed") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 VerificationKeyHashing )))

data ApiPolicyKey Source #

Instances

Instances details
Eq ApiPolicyKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiPolicyKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiPolicyKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiPolicyKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiPolicyKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiPolicyKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPolicyKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

newtype ApiPolicyId Source #

Instances

Instances details
Eq ApiPolicyId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiPolicyId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiPolicyId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiPolicyId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiPolicyId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPolicyId Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPolicyId = D1 (' MetaData "ApiPolicyId" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiPolicyId" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "policyId") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT TokenPolicyId ))))

newtype ApiPostPolicyIdData Source #

Instances

Instances details
Eq ApiPostPolicyIdData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiPostPolicyIdData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiPostPolicyIdData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiPostPolicyIdData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiPostPolicyIdData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPostPolicyIdData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPostPolicyIdData = D1 (' MetaData "ApiPostPolicyIdData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiPostPolicyIdData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "policyScriptTemplate") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT ( Script Cosigner )))))

newtype ApiPostPolicyKeyData Source #

Instances

Instances details
Eq ApiPostPolicyKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiPostPolicyKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiPostPolicyKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiPostPolicyKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiPostPolicyKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiPostPolicyKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPostPolicyKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPostPolicyKeyData = D1 (' MetaData "ApiPostPolicyKeyData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiPostPolicyKeyData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "passphrase") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT ( Passphrase "user")))))

data ApiVerificationKeyShared Source #

Instances

Instances details
Eq ApiVerificationKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiVerificationKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiVerificationKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiVerificationKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiVerificationKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiVerificationKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiVerificationKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiVerificationKeyShared = D1 (' MetaData "ApiVerificationKeyShared" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiVerificationKeyShared" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getApiVerificationKey") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ByteString , Role )) :*: S1 (' MetaSel (' Just "hashed") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 VerificationKeyHashing )))

data ApiScriptTemplateEntry Source #

Instances

Instances details
Eq ApiScriptTemplateEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiScriptTemplateEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiScriptTemplateEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiScriptTemplateEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiScriptTemplateEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiScriptTemplateEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiScriptTemplateEntry Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiScriptTemplateEntry = D1 (' MetaData "ApiScriptTemplateEntry" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiScriptTemplateEntry" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "cosigners") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Map Cosigner XPubOrSelf )) :*: S1 (' MetaSel (' Just "template") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Script Cosigner ))))

data XPubOrSelf Source #

Instances

Instances details
Eq XPubOrSelf Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show XPubOrSelf Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic XPubOrSelf Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData XPubOrSelf Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON XPubOrSelf Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON XPubOrSelf Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep XPubOrSelf Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep XPubOrSelf = D1 (' MetaData "XPubOrSelf" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "SomeAccountKey" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 XPub )) :+: C1 (' MetaCons "Self" ' PrefixI ' False ) ( U1 :: Type -> Type ))

data ApiAccountKey Source #

Instances

Instances details
Eq ApiAccountKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiAccountKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiAccountKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiAccountKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiAccountKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiAccountKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAccountKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiAccountKeyShared Source #

Instances

Instances details
Eq ApiAccountKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiAccountKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiAccountKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiAccountKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiAccountKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiAccountKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAccountKeyShared Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data KeyFormat Source #

Instances

Instances details
Eq KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToHttpApiData KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromHttpApiData KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToText KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep KeyFormat Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep KeyFormat = D1 (' MetaData "KeyFormat" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "Extended" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NonExtended" ' PrefixI ' False ) ( U1 :: Type -> Type ))

data ApiPostAccountKeyData Source #

Instances

Instances details
Eq ApiPostAccountKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiPostAccountKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiPostAccountKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiPostAccountKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiPostAccountKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiPostAccountKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPostAccountKeyData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPostAccountKeyData = D1 (' MetaData "ApiPostAccountKeyData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiPostAccountKeyData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "passphrase") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT ( Passphrase "user"))) :*: S1 (' MetaSel (' Just "format") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 KeyFormat )))

data ApiPostAccountKeyDataWithPurpose Source #

Instances

Instances details
Eq ApiPostAccountKeyDataWithPurpose Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiPostAccountKeyDataWithPurpose Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiPostAccountKeyDataWithPurpose Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiPostAccountKeyDataWithPurpose Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiPostAccountKeyDataWithPurpose Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiPostAccountKeyDataWithPurpose Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPostAccountKeyDataWithPurpose Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiConstructTransaction (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiConstructTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiConstructTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiConstructTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiConstructTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( EncodeAddress t, EncodeStakeAddress t) => ToJSON ( ApiConstructTransaction t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( DecodeAddress t, DecodeStakeAddress t) => FromJSON ( ApiConstructTransaction t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiConstructTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiConstructTransactionData (n :: NetworkDiscriminant ) Source #

Input parameters for transaction construction.

Instances

Instances details
Eq ( ApiConstructTransactionData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiConstructTransactionData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiConstructTransactionData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiConstructTransactionData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress t => ToJSON ( ApiConstructTransactionData t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress t => FromJSON ( ApiConstructTransactionData t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiConstructTransactionData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiMultiDelegationAction Source #

Stake pool delegation certificates.

Constructors

Joining !( ApiT PoolId ) ! ApiStakeKeyIndex

Delegate given staking index to a pool, possibly registering the stake key at the same time.

Leaving ! ApiStakeKeyIndex

Undelegate the given staking index from its pool.

Instances

Instances details
Eq ApiMultiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiMultiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiMultiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiMultiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiMultiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiMultiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiMultiDelegationAction Source #
Instance details

Defined in Cardano.Wallet.Api.Types

newtype ApiStakeKeyIndex Source #

Index of the stake key.

Instances

Instances details
Eq ApiStakeKeyIndex Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiStakeKeyIndex Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiStakeKeyIndex Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiStakeKeyIndex Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiStakeKeyIndex Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiStakeKeyIndex Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiStakeKeyIndex Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiStakeKeyIndex = D1 (' MetaData "ApiStakeKeyIndex" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiStakeKeyIndex" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT DerivationIndex ))))

data ApiPaymentDestination (n :: NetworkDiscriminant ) Source #

Constructors

ApiPaymentAddresses !( NonEmpty ( AddressAmount ( ApiAddressIdT n)))

Pay amounts to one or more addresses.

ApiPaymentAll !( NonEmpty ( ApiT Address , Proxy n))

Migrate all money to one or more addresses.

Instances

Instances details
Eq ( ApiPaymentDestination n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiPaymentDestination n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiPaymentDestination n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiPaymentDestination n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress t => ToJSON ( ApiPaymentDestination t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress t => FromJSON ( ApiPaymentDestination t) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiPaymentDestination n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiValidityInterval Source #

Times where transactions are valid.

Constructors

ApiValidityInterval

Fields

Instances

Instances details
Eq ApiValidityInterval Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiValidityInterval Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiValidityInterval Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiValidityInterval Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiValidityInterval Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiValidityInterval Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiValidityInterval Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiValidityInterval = D1 (' MetaData "ApiValidityInterval" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiValidityInterval" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "invalidBefore") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ApiValidityBound )) :*: S1 (' MetaSel (' Just "invalidHereafter") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ApiValidityBound ))))

data ApiValidityBound Source #

One side of the validity interval.

Constructors

ApiValidityBoundUnspecified

Use the default.

ApiValidityBoundAsTimeFromNow !( Quantity "second" NominalDiffTime )

Time from transaction construction (not submission).

ApiValidityBoundAsSlot !( Quantity "slot" Word64 )

Absolute slot number.

Instances

Instances details
Eq ApiValidityBound Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiValidityBound Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiValidityBound Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiValidityBound Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiValidityBound Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiValidityBound Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiValidityBound Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiValidityBound = D1 (' MetaData "ApiValidityBound" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiValidityBoundUnspecified" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: ( C1 (' MetaCons "ApiValidityBoundAsTimeFromNow" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "second" NominalDiffTime ))) :+: C1 (' MetaCons "ApiValidityBoundAsSlot" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "slot" Word64 )))))

data ApiBalanceTransactionPostData (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiBalanceTransactionPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiBalanceTransactionPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiBalanceTransactionPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( EncodeStakeAddress n, EncodeAddress n) => ToJSON ( ApiBalanceTransactionPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( DecodeStakeAddress n, DecodeAddress n) => FromJSON ( ApiBalanceTransactionPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiBalanceTransactionPostData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiBalanceTransactionPostData n) = D1 (' MetaData "ApiBalanceTransactionPostData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiBalanceTransactionPostData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "transaction") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT SealedTx )) :*: ( S1 (' MetaSel (' Just "inputs") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 [ ApiExternalInput n]) :*: S1 (' MetaSel (' Just "redeemers") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 [ ApiRedeemer n]))))

data ApiExternalInput (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiExternalInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiExternalInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiExternalInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiExternalInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiExternalInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiExternalInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiExternalInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiRedeemer (n :: NetworkDiscriminant ) Source #

data ApiDecodedTransaction (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiDecodedTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiDecodedTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiDecodedTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiDecodedTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( EncodeAddress n, EncodeStakeAddress n) => ToJSON ( ApiDecodedTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( DecodeAddress n, DecodeStakeAddress n) => FromJSON ( ApiDecodedTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiDecodedTransaction n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiDecodedTransaction n) = D1 (' MetaData "ApiDecodedTransaction" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiDecodedTransaction" ' PrefixI ' True ) ((( S1 (' MetaSel (' Just "id") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT ( Hash "Tx"))) :*: ( S1 (' MetaSel (' Just "fee") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "lovelace" Natural )) :*: S1 (' MetaSel (' Just "inputs") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 [ ApiTxInputGeneral n]))) :*: (( S1 (' MetaSel (' Just "outputs") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 [ ApiTxOutputGeneral n]) :*: S1 (' MetaSel (' Just "collateral") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 [ ApiTxInputGeneral n])) :*: ( S1 (' MetaSel (' Just "collateralOutputs") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiAsArray "collateral_outputs" ( Maybe ( ApiTxOutputGeneral n)))) :*: S1 (' MetaSel (' Just "withdrawals") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 [ ApiWithdrawalGeneral n])))) :*: ((( S1 (' MetaSel (' Just "mint") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiAssetMintBurn ) :*: S1 (' MetaSel (' Just "burn") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiAssetMintBurn )) :*: ( S1 (' MetaSel (' Just "certificates") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 [ ApiAnyCertificate n]) :*: S1 (' MetaSel (' Just "depositsTaken") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 [ Quantity "lovelace" Natural ]))) :*: (( S1 (' MetaSel (' Just "depositsReturned") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 [ Quantity "lovelace" Natural ]) :*: S1 (' MetaSel (' Just "metadata") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiTxMetadata )) :*: ( S1 (' MetaSel (' Just "scriptValidity") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ( ApiT TxScriptValidity ))) :*: S1 (' MetaSel (' Just "validityInterval") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ValidityIntervalExplicit )))))))

data ApiWalletInput (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiWalletInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiWalletInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiWalletInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiWalletInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiWalletInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiWalletInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWalletInput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiTxInputGeneral (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiTxInputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiTxInputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiTxInputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiTxInputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( EncodeAddress n, EncodeStakeAddress n) => ToJSON ( ApiTxInputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( DecodeAddress n, DecodeStakeAddress n) => FromJSON ( ApiTxInputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiTxInputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiWithdrawalGeneral (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiWithdrawalGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiWithdrawalGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiWithdrawalGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiWithdrawalGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeStakeAddress n => ToJSON ( ApiWithdrawalGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeStakeAddress n => FromJSON ( ApiWithdrawalGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWithdrawalGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiWalletOutput (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiWalletOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiWalletOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiWalletOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiWalletOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiWalletOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiWalletOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiWalletOutput n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiTxOutputGeneral (n :: NetworkDiscriminant ) Source #

Constructors

ExternalOutput (ApiTxOutput n)
WalletOutput ( ApiWalletOutput n)

Instances

Instances details
Eq ( ApiTxOutputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiTxOutputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiTxOutputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiTxOutputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( EncodeAddress n, EncodeStakeAddress n) => ToJSON ( ApiTxOutputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( DecodeAddress n, DecodeStakeAddress n) => FromJSON ( ApiTxOutputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiTxOutputGeneral n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiAnyCertificate n Source #

Instances

Instances details
Eq ( ApiAnyCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiAnyCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiAnyCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiAnyCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeStakeAddress n => ToJSON ( ApiAnyCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeStakeAddress n => FromJSON ( ApiAnyCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiAnyCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiExternalCertificate (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiExternalCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiExternalCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiExternalCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiExternalCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeStakeAddress n => ToJSON ( ApiExternalCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeStakeAddress n => FromJSON ( ApiExternalCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiExternalCertificate n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiRegisterPool Source #

Instances

Instances details
Eq ApiRegisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiRegisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiRegisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiRegisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiRegisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiRegisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiRegisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiDeregisterPool Source #

Instances

Instances details
Eq ApiDeregisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiDeregisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiDeregisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiDeregisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiDeregisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiDeregisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiDeregisterPool Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiDeregisterPool = D1 (' MetaData "ApiDeregisterPool" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiDeregisterPool" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "poolId") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT PoolId )) :*: S1 (' MetaSel (' Just "retirementEpoch") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT EpochNo ))))

data ApiAssetMintBurn Source #

Instances

Instances details
Eq ApiAssetMintBurn Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiAssetMintBurn Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiAssetMintBurn Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiAssetMintBurn Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiAssetMintBurn Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiAssetMintBurn Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAssetMintBurn Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiTokenAmountFingerprint Source #

Instances

Instances details
Eq ApiTokenAmountFingerprint Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiTokenAmountFingerprint Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiTokenAmountFingerprint Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiTokenAmountFingerprint Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiTokenAmountFingerprint Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiTokenAmountFingerprint Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiTokenAmountFingerprint Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiTokens Source #

Instances

Instances details
Eq ApiTokens Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiTokens Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiTokens Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiTokens Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiTokens Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiTokens Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiTokens Source #
Instance details

Defined in Cardano.Wallet.Api.Types

API Types (Byron)

data ApiByronWallet Source #

Instances

Instances details
Eq ApiByronWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiByronWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiByronWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiByronWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiByronWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiByronWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiByronWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiByronWalletBalance Source #

Instances

Instances details
Eq ApiByronWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiByronWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiByronWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiByronWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiByronWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiByronWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiByronWalletBalance Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiByronWalletBalance = D1 (' MetaData "ApiByronWalletBalance" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiByronWalletBalance" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "available") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "lovelace" Natural )) :*: S1 (' MetaSel (' Just "total") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Quantity "lovelace" Natural ))))

data ByronWalletPostData mw Source #

Instances

Instances details
Eq ( ByronWalletPostData mw) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ByronWalletPostData mw) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ByronWalletPostData mw) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ByronWalletPostData mw) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

MkSomeMnemonic mw => FromJSON ( ByronWalletPostData mw) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ByronWalletPostData mw) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data SomeByronWalletPostData Source #

Instances

Instances details
Eq SomeByronWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show SomeByronWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic SomeByronWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON SomeByronWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON SomeByronWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep SomeByronWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ByronWalletFromXPrvPostData Source #

Constructors

ByronWalletFromXPrvPostData

Fields

Instances

Instances details
Eq ByronWalletFromXPrvPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ByronWalletFromXPrvPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ByronWalletFromXPrvPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ByronWalletFromXPrvPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ByronWalletFromXPrvPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ByronWalletFromXPrvPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ByronWalletFromXPrvPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ByronWalletFromXPrvPostData = D1 (' MetaData "ByronWalletFromXPrvPostData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ByronWalletFromXPrvPostData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "name") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT WalletName )) :*: ( S1 (' MetaSel (' Just "encryptedRootPrivateKey") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT XPrv )) :*: S1 (' MetaSel (' Just "passphraseHash") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT PassphraseHash )))))

data ByronWalletPutPassphraseData Source #

Instances

Instances details
Eq ByronWalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ByronWalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ByronWalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ByronWalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ByronWalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ByronWalletPutPassphraseData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ByronWalletPutPassphraseData = D1 (' MetaData "ByronWalletPutPassphraseData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ByronWalletPutPassphraseData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "oldPassphrase") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ( ApiT ( Passphrase "lenient")))) :*: S1 (' MetaSel (' Just "newPassphrase") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT ( Passphrase "user")))))

data ApiPostRandomAddressData Source #

Instances

Instances details
Eq ApiPostRandomAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiPostRandomAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiPostRandomAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiPostRandomAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiPostRandomAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiPostRandomAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPostRandomAddressData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPostRandomAddressData = D1 (' MetaData "ApiPostRandomAddressData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiPostRandomAddressData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "passphrase") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT ( Passphrase "lenient"))) :*: S1 (' MetaSel (' Just "addressIndex") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ( ApiT ( Index ' Hardened ' AddressK ))))))

data ApiWalletDiscovery Source #

Instances

Instances details
Eq ApiWalletDiscovery Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiWalletDiscovery Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiWalletDiscovery Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiWalletDiscovery Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiWalletDiscovery Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiWalletDiscovery Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletDiscovery Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiWalletDiscovery = D1 (' MetaData "ApiWalletDiscovery" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "DiscoveryRandom" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "DiscoverySequential" ' PrefixI ' False ) ( U1 :: Type -> Type ))

newtype ApiPutAddressesData (n :: NetworkDiscriminant ) Source #

Instances

Instances details
Eq ( ApiPutAddressesData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiPutAddressesData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiPutAddressesData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ( ApiPutAddressesData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiPutAddressesData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiPutAddressesData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiPutAddressesData n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiPutAddressesData n) = D1 (' MetaData "ApiPutAddressesData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiPutAddressesData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "addresses") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 [( ApiT Address , Proxy n)])))

API Types (Hardware)

data AccountPostData Source #

Instances

Instances details
Eq AccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show AccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic AccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON AccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON AccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep AccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

newtype ApiAccountPublicKey Source #

Instances

Instances details
Eq ApiAccountPublicKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiAccountPublicKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiAccountPublicKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiAccountPublicKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiAccountPublicKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiAccountPublicKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText ApiAccountPublicKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAccountPublicKey Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiAccountPublicKey = D1 (' MetaData "ApiAccountPublicKey" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiAccountPublicKey" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "key") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( ApiT XPub ))))

newtype WalletOrAccountPostData Source #

Instances

Instances details
Eq WalletOrAccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show WalletOrAccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic WalletOrAccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON WalletOrAccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON WalletOrAccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep WalletOrAccountPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep WalletOrAccountPostData = D1 (' MetaData "WalletOrAccountPostData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "WalletOrAccountPostData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "postData") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Either WalletPostData AccountPostData ))))

User-Facing Address Encoding/Decoding

class EncodeAddress (n :: NetworkDiscriminant ) where Source #

An abstract class to allow encoding of addresses depending on the target backend used.

class DecodeAddress (n :: NetworkDiscriminant ) where Source #

An abstract class to allow decoding of addresses depending on the target backend used.

Shared Wallets

newtype ApiSharedWallet Source #

Instances

Instances details
Eq ApiSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSharedWallet = D1 (' MetaData "ApiSharedWallet" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiSharedWallet" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "wallet") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Either ApiPendingSharedWallet ApiActiveSharedWallet ))))

data ApiPendingSharedWallet Source #

Instances

Instances details
Eq ApiPendingSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiPendingSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiPendingSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiPendingSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiPendingSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiPendingSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiPendingSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiActiveSharedWallet Source #

Instances

Instances details
Eq ApiActiveSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiActiveSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiActiveSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiActiveSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiActiveSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiActiveSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiActiveSharedWallet Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiActiveSharedWallet = D1 (' MetaData "ApiActiveSharedWallet" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiActiveSharedWallet" ' PrefixI ' True ) ((( S1 (' MetaSel (' Just "id") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT WalletId )) :*: ( S1 (' MetaSel (' Just "name") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT WalletName )) :*: S1 (' MetaSel (' Just "accountIndex") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT DerivationIndex )))) :*: ( S1 (' MetaSel (' Just "addressPoolGap") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT AddressPoolGap )) :*: ( S1 (' MetaSel (' Just "passphrase") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ApiWalletPassphraseInfo )) :*: S1 (' MetaSel (' Just "paymentScriptTemplate") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ScriptTemplate )))) :*: (( S1 (' MetaSel (' Just "delegationScriptTemplate") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Maybe ScriptTemplate )) :*: ( S1 (' MetaSel (' Just "delegation") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiWalletDelegation ) :*: S1 (' MetaSel (' Just "balance") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiWalletBalance ))) :*: ( S1 (' MetaSel (' Just "assets") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiWalletAssetsBalance ) :*: ( S1 (' MetaSel (' Just "state") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT SyncProgress )) :*: S1 (' MetaSel (' Just "tip") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiBlockReference ))))))

newtype ApiSharedWalletPostData Source #

Instances

Instances details
Eq ApiSharedWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSharedWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSharedWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSharedWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSharedWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSharedWalletPostData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSharedWalletPostData = D1 (' MetaData "ApiSharedWalletPostData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiSharedWalletPostData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "wallet") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Either ApiSharedWalletPostDataFromMnemonics ApiSharedWalletPostDataFromAccountPubX ))))

data ApiSharedWalletPostDataFromMnemonics Source #

Instances

Instances details
Eq ApiSharedWalletPostDataFromMnemonics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSharedWalletPostDataFromMnemonics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSharedWalletPostDataFromMnemonics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSharedWalletPostDataFromMnemonics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSharedWalletPostDataFromMnemonics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSharedWalletPostDataFromMnemonics Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiSharedWalletPostDataFromAccountPubX Source #

Instances

Instances details
Eq ApiSharedWalletPostDataFromAccountPubX Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSharedWalletPostDataFromAccountPubX Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSharedWalletPostDataFromAccountPubX Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSharedWalletPostDataFromAccountPubX Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSharedWalletPostDataFromAccountPubX Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSharedWalletPostDataFromAccountPubX Source #
Instance details

Defined in Cardano.Wallet.Api.Types

data ApiSharedWalletPatchData Source #

Instances

Instances details
Eq ApiSharedWalletPatchData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiSharedWalletPatchData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiSharedWalletPatchData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData ApiSharedWalletPatchData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiSharedWalletPatchData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiSharedWalletPatchData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSharedWalletPatchData Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiSharedWalletPatchData = D1 (' MetaData "ApiSharedWalletPatchData" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "ApiSharedWalletPatchData" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "cosigner") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( ApiT Cosigner )) :*: S1 (' MetaSel (' Just "accountPublicKey") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ApiAccountPublicKey )))

Polymorphic Types

newtype ApiT a Source #

Polymorphic wrapper type to put around primitive types and, 3rd party lib types to avoid defining orphan instances and/or, undesirable instances on primitive types. It helps to keep a nice separation of concerns between the API layer and other modules.

Constructors

ApiT

Fields

Instances

Instances details
Functor ApiT Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Eq a => Eq ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Eq ( ApiT XPrv ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Ord a => Ord ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show a => Show ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiT XPrv ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Associated Types

type Rep ( ApiT a) :: Type -> Type Source #

Semigroup a => Semigroup ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Monoid a => Monoid ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData a => NFData ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Methods

rnf :: ApiT a -> () Source #

Hashable a => Hashable ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ( Script Cosigner )) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ( Script KeyHash )) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT Cosigner ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ValidationLevel ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT XPrv ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT TxMetadata ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT SlotNo ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT PassphraseHash ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ( Passphrase purpose)) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT AddressState ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ( Hash "Datum")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ( Hash "Genesis")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ( Hash "TokenPolicy")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ( Hash "Tx")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ( Hash "VerificationKey")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT AssetDecimals ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT AssetURL ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT AssetLogo ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT TokenFingerprint ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT TokenName ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT TokenPolicyId ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT TokenMap ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Enum ( Index derivation level) => ToJSON ( ApiT ( Index derivation level)) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT DerivationIndex ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT TokenBundle ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT TxScriptValidity ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT SealedTx ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT Direction ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT TxStatus ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT TxIn ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT BoundType ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT Settings ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT SmashServer ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT NonWalletCertificate ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT StartTime ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT EpochLength ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT SlotLength ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT EpochNo ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT SlotInEpoch ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT ActiveSlotCoefficient ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT PoolOwner ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT PoolId ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT StakePoolMetadata ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT StakePoolMetadataUrl ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT StakePoolMetadataHash ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT PoolMetadataGCStatus ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT WalletId ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT WalletName ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT AnyScript ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT SyncProgress ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT AddressPoolGap ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ( ApiT Iso8601Time ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT ( Script Cosigner )) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT ( Script KeyHash )) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT Cosigner ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT ValidationLevel ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT XPrv ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT TxMetadata ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT SlotNo ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT PassphraseHash ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( PassphraseMaxLength purpose, PassphraseMinLength purpose) => FromJSON ( ApiT ( Passphrase purpose)) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT AddressState ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT ( Hash "Datum")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT ( Hash "Genesis")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT ( Hash "TokenPolicy")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT ( Hash "Tx")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT ( Hash "VerificationKey")) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT AssetDecimals ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT AssetURL ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT AssetLogo ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT TokenFingerprint ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT TokenName ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT TokenPolicyId ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT TokenMap ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( Enum ( Index derivation level), Bounded ( Index derivation level)) => FromJSON ( ApiT ( Index derivation level)) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT DerivationIndex ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT TokenBundle ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT TxScriptValidity ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT SealedTx ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT Direction ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT TxStatus ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT TxIn ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT BoundType ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT Settings ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT SmashServer ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT NonWalletCertificate ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT StartTime ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT EpochLength ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT SlotLength ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT EpochNo ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT SlotInEpoch ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT ActiveSlotCoefficient ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT PoolOwner ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT PoolId ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT StakePoolMetadata ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT StakePoolMetadataUrl ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT StakePoolMetadataHash ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT PoolMetadataGCStatus ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT WalletId ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT WalletName ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT AnyScript ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT SyncProgress ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT AddressPoolGap ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ( ApiT Iso8601Time ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToText a => ToHttpApiData ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText a => FromHttpApiData ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToText ( ApiT Cosigner ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToText ( ApiT ValidationLevel ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToText ( ApiT XPrv ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText ( ApiT Cosigner ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText ( ApiT ValidationLevel ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText ( ApiT XPrv ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromText ( ApiT PassphraseHash ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

MimeRender OctetStream ( ApiT SealedTx ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

MimeUnrender OctetStream ( ApiT SealedTx ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToJSON ( ApiT Address , Proxy n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeStakeAddress n => ToJSON ( ApiT RewardAccount , Proxy n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromJSON ( ApiT Address , Proxy n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeStakeAddress n => FromJSON ( ApiT RewardAccount , Proxy n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

EncodeAddress n => ToHttpApiData ( ApiT Address , Proxy n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

DecodeAddress n => FromHttpApiData ( ApiT Address , Proxy n) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiT a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiT a) = D1 (' MetaData "ApiT" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiT" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getApiT") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 a)))

newtype ApiMnemonicT (sizes :: [ Nat ]) Source #

Representation of mnemonics at the API-level, using a polymorphic type in the lengths of mnemonics that are supported (and an underlying purpose). In practice, mnemonics correspond to passphrases or seeds, and although they're nice to manipulate as mnemonics from a user-perspective, carrying around a list of words doesn't really make sense for the business logic, which prefers manipulating scrubbed bytes directly.

data MyWallet
    { mnemonic :: ApiMnemonicT '[15,18,21,24]
    }

Note that the given Nat s **have** to be valid mnemonic sizes, otherwise the underlying code won't even compile, with not-so-friendly error messages.

Also, the internal representation holds a [Text] which contains the list of mnemonic words that was parsed. This is only to be able to implement the ToJSON instances and roundtrip, which is a very dubious argument. In practice, we'll NEVER peek at the mnemonic, output them and whatnot.

Instances

Instances details
Eq ( ApiMnemonicT sizes) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ( ApiMnemonicT sizes) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiMnemonicT sizes) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Associated Types

type Rep ( ApiMnemonicT sizes) :: Type -> Type Source #

NFData ( ApiMnemonicT sizes) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Methods

rnf :: ApiMnemonicT sizes -> () Source #

ToJSON ( ApiMnemonicT sizes) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

MkSomeMnemonic sizes => FromJSON ( ApiMnemonicT sizes) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiMnemonicT sizes) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiMnemonicT sizes) = D1 (' MetaData "ApiMnemonicT" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiMnemonicT" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getApiMnemonicT") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 SomeMnemonic )))

newtype ApiBytesT (base :: Base ) bs Source #

Polymorphic wrapper for byte arrays, parameterised by the desired string encoding.

Constructors

ApiBytesT

Fields

Instances

Instances details
Functor ( ApiBytesT base) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Methods

fmap :: (a -> b) -> ApiBytesT base a -> ApiBytesT base b Source #

(<$) :: a -> ApiBytesT base b -> ApiBytesT base a Source #

MimeRender OctetStream ( ApiBytesT base SerialisedTx ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

MimeRender OctetStream ( ApiBytesT base ByteString ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

MimeUnrender OctetStream ( ApiBytesT base SerialisedTx ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

MimeUnrender OctetStream ( ApiBytesT base ByteString ) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Eq bs => Eq ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show bs => Show ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Associated Types

type Rep ( ApiBytesT base bs) :: Type -> Type Source #

Semigroup bs => Semigroup ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Monoid bs => Monoid ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData bs => NFData ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Methods

rnf :: ApiBytesT base bs -> () Source #

Hashable bs => Hashable ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

(HasBase base, ByteArrayAccess bs) => ToJSON ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

(HasBase base, ByteArray bs) => FromJSON ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

(HasBase b, ByteArrayAccess bs) => ToText ( ApiBytesT b bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

(HasBase b, ByteArray bs) => FromText ( ApiBytesT b bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiBytesT base bs) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiBytesT base bs) = D1 (' MetaData "ApiBytesT" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiBytesT" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getApiBytesT") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 bs)))

Type families

API Type Conversions

Others

data HealthStatusSMASH Source #

Parses the SMASH HealthCheck type from the SMASH API.

Instances

Instances details
Eq HealthStatusSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Ord HealthStatusSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show HealthStatusSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic HealthStatusSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON HealthStatusSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON HealthStatusSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep HealthStatusSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep HealthStatusSMASH = D1 (' MetaData "HealthStatusSMASH" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) ( C1 (' MetaCons "HealthStatusSMASH" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "status") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Text ) :*: S1 (' MetaSel (' Just "version") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Text )))

data HealthCheckSMASH Source #

Dscribes the health status of the SMASH server.

Instances

Instances details
Eq HealthCheckSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Ord HealthCheckSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show HealthCheckSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic HealthCheckSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON HealthCheckSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON HealthCheckSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep HealthCheckSMASH Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep HealthCheckSMASH = D1 (' MetaData "HealthCheckSMASH" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' False ) (( C1 (' MetaCons "Available" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "Unavailable" ' PrefixI ' False ) ( U1 :: Type -> Type )) :+: ( C1 (' MetaCons "Unreachable" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "NoSmashConfigured" ' PrefixI ' False ) ( U1 :: Type -> Type )))

newtype ApiHealthCheck Source #

Instances

Instances details
Eq ApiHealthCheck Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Ord ApiHealthCheck Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show ApiHealthCheck Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ApiHealthCheck Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON ApiHealthCheck Source #
Instance details

Defined in Cardano.Wallet.Api.Types

FromJSON ApiHealthCheck Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiHealthCheck Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ApiHealthCheck = D1 (' MetaData "ApiHealthCheck" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiHealthCheck" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "health") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 HealthCheckSMASH )))

newtype ApiAsArray (s :: Symbol ) a Source #

A wrapper that allows any type to be serialized as a JSON array.

The number of items permitted in the array is dependent on the wrapped type.

Constructors

ApiAsArray a

Instances

Instances details
Eq a => Eq ( ApiAsArray s a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Show a => Show ( ApiAsArray s a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Generic ( ApiAsArray s a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Associated Types

type Rep ( ApiAsArray s a) :: Type -> Type Source #

Semigroup a => Semigroup ( ApiAsArray s a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

Monoid a => Monoid ( ApiAsArray s a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

NFData a => NFData ( ApiAsArray s a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

ToJSON a => ToJSON ( ApiAsArray s ( Maybe a)) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

( KnownSymbol s, FromJSON a) => FromJSON ( ApiAsArray s ( Maybe a)) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiAsArray s a) Source #
Instance details

Defined in Cardano.Wallet.Api.Types

type Rep ( ApiAsArray s a) = D1 (' MetaData "ApiAsArray" "Cardano.Wallet.Api.Types" "cardano-wallet-core-2022.7.1-AGKhlyz9liLKN3QqZD1gj" ' True ) ( C1 (' MetaCons "ApiAsArray" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 a)))

Re-exports

data Base Source #

The different bases that can be used.

See RFC4648 for details. In particular, Base64 can be standard or URL-safe . URL-safe encoding is often used in other specifications without padding characters.

RFC 2045 defines a separate Base64 encoding, which is not supported. This format requires a newline at least every 76 encoded characters, which works around limitations of older email programs that could not handle long lines. Be aware that other languages, such as Ruby, encode the RFC 2045 version by default. To decode their output, remove all newlines before decoding.

Examples

A quick example to show the differences:

>>> let input = "Is 3 > 2?" :: ByteString
>>> let convertedTo base = convertToBase base input :: ByteString
>>> convertedTo Base16
"49732033203e20323f"
>>> convertedTo Base32
"JFZSAMZAHYQDEPY="
>>> convertedTo Base64
"SXMgMyA+IDI/"
>>> convertedTo Base64URLUnpadded
"SXMgMyA-IDI_"
>>> convertedTo Base64OpenBSD
"QVKeKw.8GBG9"

Constructors

Base16

similar to hexadecimal

Base64

standard Base64