Interface MetadataProviderInterface
interface MetadataProviderInterface { provideMetadata(contractAbstraction: ContractAbstraction<ContractProvider | Wallet, DefaultMethods<ContractProvider | Wallet>, DefaultMethodsObject<ContractProvider | Wallet>, DefaultViews, DefaultContractViews, unknown>,
uri: string,
context: MetadataContext): Promise<MetadataEnvelope>; } Methods
provideMetadata
- provideMetadata(contractAbstraction, uri, context): Promise<MetadataEnvelope>
Parameters
- contractAbstraction: ContractAbstraction<ContractProvider | Wallet, DefaultMethods<ContractProvider | Wallet>, DefaultMethodsObject<ContractProvider | Wallet>, DefaultViews, DefaultContractViews, unknown>
- uri: string
- context: MetadataContext