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