Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Constructor and inputs for verify/settle/supported
new Facilitator({ recipientAddress: string, relayer?: string, waitUntil?: "confirmed", baseUrl?: string, apiKey?: string, });
verify(payload, requirements)
settle(payload, requirements, waitUntil?)
supported(filters?)
verify( payload: PaymentPayload, requirements: PaymentRequirements ): Promise<{ success: true; payer: string } | { success: false; error: string }>;
settle( payload: PaymentPayload, requirements: PaymentRequirements, waitUntil?: "confirmed" ): Promise<{ success: true; txHash: string; network: string } | { success: false; error: string }>;
supported(filters?: { chainId?: number; tokenAddress?: string; }): Promise<{ success: true; chains: number[]; tokens: { address: string; supportedMethods: ("eip3009" | "permit" | "permit2")[] }[]; } | { success: false; error: string }>;
Note: waitUntil currently only supports "confirmed".
waitUntil
"confirmed"