x402-chainlink
    Preparing search index...

    Interface CREClientConfig

    CRE client configuration

    interface CREClientConfig {
        apiKey?: string;
        broadcastInSimulation?: boolean;
        endpoint: string;
        engineLogs?: boolean;
        environment?: "production" | "staging";
        facilitatorAddress: `0x${string}`;
        network: EVMNetworkId;
        simulation?: boolean;
        targetSettings?: string;
        timeout?: number;
        workflowId?: string;
        workflowPath?: string;
    }
    Index

    Properties

    apiKey?: string

    API key for authentication (optional, may be required in production)

    broadcastInSimulation?: boolean

    Enable --broadcast flag for real transactions in simulation When true, settlement transactions are actually submitted to the blockchain

    false
    
    endpoint: string

    CRE workflow endpoint URL (from deployed workflow)

    engineLogs?: boolean

    Enable CRE engine logs for debugging simulation

    false
    
    environment?: "production" | "staging"

    Environment: staging (testnets) or production (mainnets)

    facilitatorAddress: `0x${string}`

    X402Facilitator contract address on target network

    network: EVMNetworkId

    Target network for settlement

    simulation?: boolean

    Use simulation mode

    targetSettings?: string

    CRE target settings name from workflow.yaml (for simulation mode)

    "staging-settings"
    
    timeout?: number

    Request timeout in milliseconds

    workflowId?: string

    Deployed workflow ID (from cre workflow deploy output)

    workflowPath?: string

    Path to the x402-workflow folder (for simulation mode) Relative to the current working directory or absolute path

    "./x402-workflow"