Skip to main content
Glama
wallet.controller.ts1 kB
// Mock for wallet controller export class WalletController { constructor(walletService: any) { // Mock constructor } getStatus = jest.fn().mockResolvedValue({ status: 'ready' }); getAddress = jest.fn().mockResolvedValue({ address: 'mock-address' }); getBalance = jest.fn().mockResolvedValue({ balance: '1000' }); sendFunds = jest.fn().mockResolvedValue({ transactionId: 'mock-tx-id' }); verifyTransaction = jest.fn().mockResolvedValue({ verified: true }); getTransactionStatus = jest.fn().mockResolvedValue({ status: 'completed' }); getTransactions = jest.fn().mockResolvedValue({ transactions: [] }); getPendingTransactions = jest.fn().mockResolvedValue({ transactions: [] }); getWalletConfig = jest.fn().mockResolvedValue({ config: 'mock-config' }); healthCheck = jest.fn().mockResolvedValue({ status: 'healthy' }); registerInMarketplace = jest.fn().mockResolvedValue({ registered: true }); verifyUserInMarketplace = jest.fn().mockResolvedValue({ verified: true }); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/evilpixi/pixi-midnight-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server