@microsoft/useragent-sdk
Version:
SDK for building decentralized identity wallets and enterprise agents.
20 lines (19 loc) • 642 B
TypeScript
import { IHubResponse } from '@decentralized-identity/hub-common-js';
import { ICryptoToken } from '../../crypto/protocols/ICryptoToken';
/**
* Represents a Hub's response to a `CommitQueryRequest`.
*/
export default interface IHubCommitQueryResponse extends IHubResponse<'CommitQueryResponse'> {
/**
* The constant type of this response.
**/
'@type': 'CommitQueryResponse';
/**
* Array containing the requested commits.
**/
'commits': ICryptoToken[];
/**
* The pagination token which can be used to fetch the next page of results.
**/
'skip_token': string | null;
}