UNPKG

@ledgerhq/domain-service

Version:
20 lines 709 B
import { Registry } from "../types"; /** * Method is voluntarly made async so it can be replaced by a backend call once implemented */ export declare const getRegistries: () => Promise<Registry[]>; /** * Get an array of registries compatible with a given domain * * @param {string} domain * @returns {Promise<AddressResolutionResponse[]>} */ export declare const getRegistriesForDomain: (domain: string) => Promise<Registry[]>; /** * Get an array of registries compatible with a given address * * @param {string} address * @returns {Promise<AddressResolutionResponse[]>} */ export declare const getRegistriesForAddress: (address: string) => Promise<Registry[]>; //# sourceMappingURL=index.d.ts.map