Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
PolicyId
Synopsis
- newtype PolicyId = PolicyId Text
- mkPolicyId :: Text -> PolicyId
- unPolicyId :: PolicyId -> Text
Documentation
Minting policy Id
Instances
FromJSON PolicyId Source # | |
ToJSON PolicyId Source # | |
Defined in Blockfrost.Types.Shared.PolicyId | |
IsString PolicyId Source # | |
Defined in Blockfrost.Types.Shared.PolicyId fromString :: String -> PolicyId # | |
Generic PolicyId Source # | |
Show PolicyId Source # | |
Eq PolicyId Source # | |
FromHttpApiData PolicyId Source # | |
Defined in Blockfrost.Types.Shared.PolicyId parseUrlPiece :: Text -> Either Text PolicyId # parseHeader :: ByteString -> Either Text PolicyId # | |
ToHttpApiData PolicyId Source # | |
Defined in Blockfrost.Types.Shared.PolicyId toUrlPiece :: PolicyId -> Text # toEncodedUrlPiece :: PolicyId -> Builder # toHeader :: PolicyId -> ByteString # toQueryParam :: PolicyId -> Text # | |
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 #