Type Alias FetchByKeysResult<T, K, I>

FetchByKeysResult: {
    contracts: (CreateEvent<T, K, I> | null)[];
    loading: boolean;
}

The result of a streaming fetchByKeys against the ledger.

Type Parameters

  • T extends object
  • K
  • I extends string

Type declaration

  • contracts: (CreateEvent<T, K, I> | null)[]

    Contracts of the given contract template and key.

  • loading: boolean

    Indicator for whether the fetch is executing.

T The contract template type of the query.

K The contract key type of the query.

I The template id type.