Class Tzip16ContractAbstraction
Constructors
constructor
- new Tzip16ContractAbstraction(constractAbstraction, context): Tzip16ContractAbstraction
Parameters
- constractAbstraction: ContractAbstraction<ContractProvider | Wallet, DefaultMethods<ContractProvider | Wallet>, DefaultMethodsObject<ContractProvider | Wallet>, DefaultViews, DefaultContractViews, unknown>
- context: MetadataContext
Methods
metadataAuthors
- metadataAuthors(): Promise<undefined | string[]>
Returns Promise<undefined | string[]>
metadataDescription
- metadataDescription(): Promise<undefined | string>
Returns Promise<undefined | string>
metadataHomepage
- metadataHomepage(): Promise<undefined | string>
Returns Promise<undefined | string>
metadataInterfaces
- metadataInterfaces(): Promise<undefined | string[]>
Returns Promise<undefined | string[]>
metadataLicense
- metadataLicense(): Promise<undefined | {
details?: string;
name: string;
}> Returns Promise<undefined | {
details?: string;
name: string;
}>
metadataName
- metadataName(): Promise<undefined | string>
Returns Promise<undefined | string>
metadataSource
- metadataSource(): Promise<undefined | {
location?: string;
tools?: string[];
}> Returns Promise<undefined | {
location?: string;
tools?: string[];
}>
metadataVersion
- metadataVersion(): Promise<undefined | string>
Returns Promise<undefined | string>
metadataViews
- metadataViews(): Promise<{
[key: string]: (() => View);
}> Returns Promise<{
[key: string]: (() => View);
}>
Description
Return an object containing the metadata, the uri, an optional integrity check result and an optional sha256 hash