blub-sdk
Version:
A modular SDK for interacting with the BLUB ecosystem on the Sui blockchain.
18 lines (17 loc) • 525 B
TypeScript
export interface BlubRegisterSubdomainResponse {
success: boolean;
data?: {
nameObjId: string | null;
};
error?: string;
errors?: string[];
}
export declare class BlubSubdomain {
private readonly apiUrl;
/**
* Registers a subdomain (e.g. jack.blub) for a given address
* @param address Sui wallet address of the user
* @param name Desired subdomain name (without .blub)
*/
registerSubdomain(address: string, name: string): Promise<BlubRegisterSubdomainResponse>;
}