Documentation Index
Fetch the complete documentation index at: https://docs.x402x.ai/llms.txt
Use this file to discover all available pages before exploring further.
TokenDetectionResult
interface TokenDetectionResult {
address: string;
supportedMethods: ("eip3009" | "permit" | "permit2" | "permit2-witness")[];
details: { hasEIP3009: boolean; hasPermit: boolean; hasPermit2Approval: boolean };
name: string;
version: string;
}
initialize return
TokenDetectionResult[] // detection results for each token
Settle detection return (recipient)
interface SettleDetectionResult {
/** Supports settleWithPermit (0x02ccc23e) */
supportsSettleWithPermit: boolean;
/** Supports settleWithERC3009 (0x1fe200d9) */
supportsSettleWithERC3009: boolean;
/** Supports settleWithPermit2 (0xa7fcafbb) */
supportsSettleWithPermit2: boolean;
}
Used to verify whether an EIP-7702 recipient implements x402x settlement extension methods; useful for pre-launch checks and runtime health checks.