@gluneau/hive-mcp-server
Version:
An MCP server that enables AI assistants to interact with the Hive blockchain
117 lines (116 loc) • 3.91 kB
TypeScript
import { z } from 'zod';
export * from './common';
export declare const createPostPromptSchema: {
title: z.ZodString;
content: z.ZodString;
tags: z.ZodOptional<z.ZodString>;
};
export declare const analyzeAccountSchema: {
username: z.ZodString;
};
export declare const encryptMessageSchema: {
message: z.ZodString;
recipient: z.ZodString;
};
export declare const decryptMessageSchema: {
encrypted_message: z.ZodString;
sender: z.ZodString;
};
export declare const sendEncryptedMessageSchema: {
message: z.ZodString;
recipient: z.ZodString;
amount: z.ZodDefault<z.ZodNumber>;
};
export declare const getEncryptedMessagesSchema: {
username: z.ZodOptional<z.ZodString>;
limit: z.ZodDefault<z.ZodNumber>;
decrypt: z.ZodDefault<z.ZodBoolean>;
};
export declare const getAccountInfoSchema: {
username: z.ZodString;
};
export declare const getAccountHistorySchema: {
username: z.ZodString;
limit: z.ZodDefault<z.ZodNumber>;
operation_filter: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodEffects<z.ZodString, any[], string>]>>;
};
export declare const getVestingDelegationsSchema: {
username: z.ZodString;
limit: z.ZodDefault<z.ZodNumber>;
from: z.ZodOptional<z.ZodString>;
};
export declare const getPostContentSchema: {
author: z.ZodString;
permlink: z.ZodString;
};
export declare const getPostsByTagSchema: {
category: z.ZodEnum<["active", "cashout", "children", "comments", "created", "hot", "promoted", "trending", "votes"]>;
tag: z.ZodString;
limit: z.ZodDefault<z.ZodNumber>;
};
export declare const getPostsByUserSchema: {
category: z.ZodEnum<["blog", "feed"]>;
username: z.ZodString;
limit: z.ZodDefault<z.ZodNumber>;
};
export declare const createPostSchema: {
title: z.ZodString;
body: z.ZodString;
tags: z.ZodDefault<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodEffects<z.ZodString, any[], string>]>>;
beneficiaries: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
account: z.ZodString;
weight: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
account: string;
weight: number;
}, {
account: string;
weight: number;
}>, "many">, z.ZodNull]>>>;
permalink: z.ZodOptional<z.ZodString>;
max_accepted_payout: z.ZodOptional<z.ZodString>;
percent_hbd: z.ZodOptional<z.ZodNumber>;
allow_votes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
allow_curation_rewards: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
};
export declare const createCommentSchema: {
parent_author: z.ZodString;
parent_permlink: z.ZodString;
body: z.ZodString;
permalink: z.ZodOptional<z.ZodString>;
beneficiaries: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
account: z.ZodString;
weight: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
account: string;
weight: number;
}, {
account: string;
weight: number;
}>, "many">, z.ZodNull]>>>;
max_accepted_payout: z.ZodOptional<z.ZodString>;
percent_hbd: z.ZodOptional<z.ZodNumber>;
allow_votes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
allow_curation_rewards: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
};
export declare const voteOnPostSchema: {
author: z.ZodString;
permlink: z.ZodString;
weight: z.ZodNumber;
};
export declare const sendTokenSchema: {
to: z.ZodString;
amount: z.ZodNumber;
currency: z.ZodEnum<["HIVE", "HBD"]>;
memo: z.ZodOptional<z.ZodString>;
};
export declare const signMessageSchema: {
message: z.ZodString;
key_type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["posting", "active", "memo", "owner"]>>>;
};
export declare const verifySignatureSchema: {
message_hash: z.ZodString;
signature: z.ZodString;
public_key: z.ZodString;
};
export declare const getChainPropertiesSchema: {};