@description: Metadata Provider

Implements

Constructors

Methods

Constructors

Methods

  • Parameters

    • contractAbstraction: ContractAbstraction<ContractProvider | Wallet, DefaultMethods<ContractProvider | Wallet>, DefaultMethodsObject<ContractProvider | Wallet>, DefaultViews, DefaultContractViews, unknown>
    • uri: string
    • 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

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