Successful API response wrapper.
const res: ApiResponse<HashResult> = await client.hash({ algorithm: 'sha256', data: 'hello' });console.log(res.data.digest); Copy
const res: ApiResponse<HashResult> = await client.hash({ algorithm: 'sha256', data: 'hello' });console.log(res.data.digest);
Response payload.
Successful API response wrapper.
Example