@ninerealms/midgard-client
Version:
18 lines • 581 B
TypeScript
export interface ThornameEntry {
chain: string;
address: string;
}
export interface ThornameLookupResponse {
owner: string;
expire: string;
entries: ThornameEntry[];
}
export interface ThornameLookup {
owner: string;
expire: Date;
entries: ThornameEntry[];
}
export declare const rawToThornameLookup: (lookup: ThornameLookupResponse) => ThornameLookup;
export declare const thornameLookup: (name: string) => Promise<ThornameLookup>;
export declare const thornameRLookup: (address: string) => Promise<string[]>;
//# sourceMappingURL=thorname.d.ts.map