@hashgraphonline/standards-sdk
Version:
The Hashgraph Online Standards SDK provides a complete implementation of the Hashgraph Consensus Standards (HCS), giving developers all the tools needed to build applications on Hedera.
29 lines • 964 B
TypeScript
import { HCS11Profile, SocialPlatform } from './types';
export declare class PersonBuilder {
private config;
private logger;
constructor();
setName(name: string): this;
setAlias(alias: string): this;
setBio(bio: string): this;
/**
* @deprecated Use setBio instead
*/
setDescription(description: string): this;
addSocial(platform: SocialPlatform, handle: string): this;
setProfileImage(profileImage: string): this;
setProfilePicture(pfpBuffer: Buffer, pfpFileName: string): this;
setExistingProfilePicture(pfpTopicId: string): this;
addProperty(key: string, value: any): this;
setInboundTopicId(topicId: string): this;
setOutboundTopicId(topicId: string): this;
getProfilePicture(): {
pfpBuffer?: Buffer;
pfpFileName?: string;
};
build(): HCS11Profile & {
pfpBuffer?: Buffer;
pfpFileName?: string;
};
}
//# sourceMappingURL=person-builder.d.ts.map