- useFetch<T extends object, K, I extends string>(    template: TemplateOrInterface<T, K, I>,    contractId: ContractId<T>,): FetchResult<T, K, I> - Type Parameters- T extends object
- K
- I extends string
 - Parameters- template: TemplateOrInterface<T, K, I>
- contractId: ContractId<T>
 
- The fetched contract. 
React Hook for a lookup by contractId against the
/v1/fetchendpoint of the JSON API.