import type { ComplianceResponse, ComplianceV2Response, HeightResponse, HeightResponseWithHeaders, TimeResponse } from '../types'; import RestClient from './rest'; export default class UtilityClient extends RestClient { /** * @description Get the current time of the Indexer * @returns {TimeResponse} isoString and epoch */ getTime(): Promise; /** * @description Get the block height of the most recent block processed by the Indexer * @returns {HeightResponse} block height and time */ getHeight(): Promise; /** * @description Get the block height of the most recent block processed by the Indexer * @returns {HeightResponse} block height and time */ getHeightWithHeaders(): Promise; /** * @description Screen an address to see if it is restricted * @param {string} address evm or dydx address * @returns {ComplianceResponse} whether the specified address is restricted */ screen(address: string): Promise; /** * @description Screen an address to see if it is restricted * @param {string} address evm or dydx address * @returns {ComplianceResponse} whether the specified address is restricted */ complianceScreen(address: string): Promise; } //# sourceMappingURL=utility.d.ts.map