useMetadata
Hook for getting the metadata associated with a smart contract.
Available to use on contracts that implement the Contract Metadata interface.
Example
Parameters
Returns
 A CustomContractMetadata  object containing the metadata
 The hook's data  property, once loaded, is an object containing the contract's metadata.