Crypto SDK
    Preparing search index...

    Interface ApiResponse<T>

    Successful API response wrapper.

    const res: ApiResponse<HashResult> = await client.hash({ algorithm: 'sha256', data: 'hello' });
    console.log(res.data.digest);
    interface ApiResponse<T> {
        data: T;
    }

    Type Parameters

    • T
    Index
    data: T

    Response payload.