x402-chainlink
    Preparing search index...

    Class CREFacilitatorClient

    CRE-backed facilitator client

    Implements IFacilitatorClient by routing all verification and settlement operations directly through a CREClient to the Chainlink DON, bypassing any intermediate HTTP facilitator server.

    const client = new CREFacilitatorClient({
    endpoint: 'https://cre.chain.link/v1/workflows/my-workflow/trigger',
    network: 'eip155:8453',
    facilitatorAddress: '0x...',
    });

    const supported = await client.supported();
    const verifyResult = await client.verify(payload, requirements);
    if (verifyResult.isValid) {
    const settleResult = await client.settle(payload, requirements);
    }

    Implements

    Index

    Constructors

    Methods