assist/types/cip68

Types

The generic CIP68 metadatum type as defined in the CIP at https://cips.cardano.org/cips/cip68/.

Constructors

  • CIP68 { metadata: Dict<Data, Data>, version: Int }

Functions

get(cip68: CIP68, key: Data) -> Data

Attempt to find a data structure by a key inside the cip68 metadatum. If nothing is found then fail.

cip68.get(datum, some_key)

version(metadata: CIP68) -> Int

Return the version of the metadata.

datum |> cip68.version
Search Document