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

    Interface ViewBatchResponse<T>Beta

    The response of viewBatch.

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

    interface ViewBatchResponse<T extends MoveValue[] = MoveValue[]> {
        state_height?: number | null;
        results: ViewBatchEntry<T>[];
    }

    Type Parameters

    Index
    state_height?: number | null

    The height of the last block the node had executed in the snapshot that every element was executed against, or null when the node had executed no block.

    results: ViewBatchEntry<T>[]

    One entry per requested view function, in request order.