crypto-dns
Version:
This packages translates domain names into crypto wallet addresses, using standard TXT records set by the DNS.
5 lines (4 loc) • 446 B
TypeScript
import { CryptoDNSConfigurationI, CryptoDNSEntryI } from './types/types';
export declare const lookup: (domain: string, config?: CryptoDNSConfigurationI) => Promise<CryptoDNSEntryI[]>;
export declare const lookupMany: (domain: string, currency: string, config?: CryptoDNSConfigurationI) => Promise<CryptoDNSEntryI[]>;
export declare const lookupOne: (domain: string, currency: string, config?: CryptoDNSConfigurationI) => Promise<string | null>;