linea-mcp
Version:
A Model Context Protocol server for interacting with the Linea blockchain
30 lines • 1.21 kB
TypeScript
import { VerifyHumanParams } from './schemas.js';
/**
* TODO: Re-implement Blockchain Contract Interaction Functions
*
* The following functions need to be re-implemented with proper contract interaction:
*
* 1. getAttestations - To fetch all attestations for an address from Verax registry
* - Needs proper contract call to attestationRegistry.getAttestationsBySubject
* - Requires proper error handling and data type management
*
* 2. checkAttestation - To verify if an address has a specific attestation type
* - Needs proper contract call to attestationRegistry.getAttestationsBySchema
* - Requires filtering logic for validating active attestations
*
* For implementation details, refer to Verax documentation at: https://docs.ver.ax/
*/
/**
* Verify if an address is a verified human using Linea POH API
* @param params The parameters for verifying humanity
* @returns Whether the address is verified as human
*/
export declare function verifyHuman(params: VerifyHumanParams): Promise<{
success: boolean;
address: string;
isVerifiedHuman: boolean;
message: string;
validatedAttestations: any;
isFlagged: any;
}>;
//# sourceMappingURL=handlers.d.ts.map