Constructors
constructor
- new SiteClient(base): SiteClient
Properties
Private
base
Methods
getInfo
- getInfo(handleOrCharacterId): Promise<SiteInfo>
Returns Promise<SiteInfo>
getStat
- getStat(handleOrCharacterId): Promise<{
achievements: undefined | number;
commentsCount: number;
createTx: undefined | `0x${string}`;
createdAt: undefined | string;
likesCount: undefined | number;
notesCount: number;
subscriptionCount: number;
viewsCount: number;
}> Returns Promise<{
achievements: undefined | number;
commentsCount: number;
createTx: undefined | `0x${string}`;
createdAt: undefined | string;
likesCount: undefined | number;
notesCount: number;
subscriptionCount: number;
viewsCount: number;
}>