| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Blockfrost.Types.Shared.PolicyId
Description
PolicyId
Synopsis
- newtype PolicyId = PolicyId Text
- mkPolicyId :: Text -> PolicyId
- unPolicyId :: PolicyId -> Text
Documentation
Minting policy Id
Instances
| FromJSON PolicyId Source # | |
Defined in Blockfrost.Types.Shared.PolicyId | |
| ToJSON PolicyId Source # | |
| IsString PolicyId Source # | |
Defined in Blockfrost.Types.Shared.PolicyId Methods fromString :: String -> PolicyId # | |
| Generic PolicyId Source # | |
| Show PolicyId Source # | |
| Eq PolicyId Source # | |
| FromHttpApiData PolicyId Source # | |
Defined in Blockfrost.Types.Shared.PolicyId Methods parseUrlPiece :: Text -> Either Text PolicyId # parseHeader :: ByteString -> Either Text PolicyId # | |
| ToHttpApiData PolicyId Source # | |
Defined in Blockfrost.Types.Shared.PolicyId Methods toUrlPiece :: PolicyId -> Text # toEncodedUrlPiece :: PolicyId -> Builder # toHeader :: PolicyId -> ByteString # toQueryParam :: PolicyId -> Text # toEncodedQueryParam :: PolicyId -> Builder # | |
| ToSample PolicyId Source # | |
| HasPolicyId AssetDetails PolicyId Source # | |
Defined in Blockfrost.Lens | |
| ToCapture (Capture "policy_id" PolicyId) Source # | |
Defined in Blockfrost.Types.Shared.PolicyId | |
| type Rep PolicyId Source # | |
Defined in Blockfrost.Types.Shared.PolicyId | |
mkPolicyId :: Text -> PolicyId Source #
unPolicyId :: PolicyId -> Text Source #