| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.V4.Address
Description
Synopsis
- newtype AccountId = AccountId Credential
- data Address = Address {}
- pubKeyHashAddress ∷ PubKeyHash → Address
- toPubKeyHash ∷ Address → Maybe PubKeyHash
- toScriptHash ∷ Address → Maybe ScriptHash
- scriptHashAddress ∷ ScriptHash → Address
- stakingAccountId ∷ Address → Maybe AccountId
Documentation
Constructors
| AccountId Credential |
Instances
An address may contain two things: the payment credential, and optionally
the AccountId of the account the funds are staked to.
Constructors
| Address | |
Fields
| |
Instances
pubKeyHashAddress ∷ PubKeyHash → Address Source #
The address that should be targeted by a transaction output locked by the public key with the given hash.
toPubKeyHash ∷ Address → Maybe PubKeyHash Source #
The PubKeyHash of the address, if any
toScriptHash ∷ Address → Maybe ScriptHash Source #
The validator hash of the address, if any
scriptHashAddress ∷ ScriptHash → Address Source #
The address that should be used by a transaction output locked by the given validator script hash.