Taquito TypeDocs
    Preparing search index...

    Class Tzip16ContractAbstraction

    Index
    • Fetch and cache the contract metadata envelope on this Tzip16ContractAbstraction instance. Subsequent calls to getMetadata(), metadataViews(), and the metadata*() accessors reuse the cached envelope without re-fetching.

      Returns Promise<MetadataEnvelope>

      an object containing the parsed metadata, the uri, the sha256Hash of the raw metadata string, and an optional integrityCheckResult (true when verified via a sha256:// commitment or a content-verifying handler such as IpfsHttpHandler).

    • Build and cache off-chain view implementations from the cached metadata envelope returned by getMetadata(). If getMetadata() has already resolved on this instance, metadataViews() uses that same cached envelope without re-fetching.

      Returns Promise<{ [key: string]: () => View }>