Skip to main content
Glama

erc8004_get_validation_status

Check the status of an ERC-8004 validation request by providing the request hash to verify completion or progress.

Instructions

Get ERC-8004 validation request status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
request_hashYesValidation request hash (bytes32)

Implementation Reference

  • The handler function that calls the API to retrieve the validation status for the given request hash.
    async (args) => {
      const result = await apiClient.get(`/v1/erc8004/validation/${args.request_hash}`);
      return toToolResult(result);
    },
  • Input schema validation using Zod for the tool.
    {
      request_hash: z.string().describe('Validation request hash (bytes32)'),
    },
  • Registration function for the erc8004_get_validation_status tool.
    export function registerErc8004GetValidationStatus(server: McpServer, apiClient: ApiClient, walletContext?: WalletContext): void {
      server.tool(
        'erc8004_get_validation_status',
        withWalletPrefix('Get ERC-8004 validation request status.', walletContext?.walletName),
        {
          request_hash: z.string().describe('Validation request hash (bytes32)'),
        },
        async (args) => {
          const result = await apiClient.get(`/v1/erc8004/validation/${args.request_hash}`);
          return toToolResult(result);
        },
      );
    }

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/minhoyoo-iotrust/WAIaaS'

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