@ledgerhq/domain-service
Version:
Ledger service responsible for domain handling
20 lines • 709 B
TypeScript
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