supra-ts-sdk - v2.0.0
    Preparing search index...

    Type Alias ViewBatchEntry<T>Beta

    ViewBatchEntry:
        | { result: T; error?: undefined }
        | { error: ViewBatchError; result?: undefined }

    The outcome of one view function of a batch: result holds the function's return values converted to TypeScript values, or error says why the function produced none. Exactly one of the two is present.

    Preview: wraps an API added in supra_node_v12.0.0, which may change until that release reaches Testnet.

    Type Parameters