We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kasanova-io/kaspa-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
get-my-address.ts•408 B
// ABOUTME: MCP tool to get the wallet address derived from the configured private key
// ABOUTME: Returns the Kaspa address for the current wallet
import { getWallet } from '../kaspa/wallet.js';
export interface GetMyAddressResult {
address: string;
}
export async function getMyAddress(): Promise<GetMyAddressResult> {
const wallet = getWallet();
return {
address: wallet.getAddress(),
};
}