@yoroi/types
Version:
The Yoroi Types package of Yoroi SDK
16 lines • 618 B
TypeScript
import { AxiosRequestConfig } from 'axios';
import { ResolverReceiver } from './receiver';
export interface ResolverApi {
getCardanoAddresses(args: {
resolve: ResolverReceiver['resolve'];
strategy?: ResolverStrategy;
}, fetcherOptions?: AxiosRequestConfig): Promise<ResolverAddressesResponse>;
}
export type ResolverStrategy = 'all' | 'first';
export type ResolverAddressResponse = Readonly<{
address: string | null;
error: Error | null;
nameServer: string | null;
}>;
export type ResolverAddressesResponse = ReadonlyArray<ResolverAddressResponse>;
//# sourceMappingURL=api.d.ts.map