Taquito TypeDocs
    Preparing search index...

    Class MetadataProvider

    * Metadata Provider

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Fetch the metadata by using the appropriate handler based on the protcol found in the URI

      Parameters

      • contractAbstraction: ContractAbstraction<ContractProvider | Wallet>

        the contract abstraction which contains the URI in its storage

      • uri: string

        the decoded uri found in the storage

      • context: Context

        the TezosToolkit Context

      Returns Promise<MetadataEnvelope>

      an object which contains the uri, the metadata, an optional integrity check result and an optional SHA256 hash