x402-chainlink
    Preparing search index...

    Interface CRESimulationResult

    CRE simulation result

    interface CRESimulationResult {
        error?: string;
        result?: {
            gasEstimate: string;
            returnValue?: unknown;
            wouldSucceed: boolean;
        };
        success: boolean;
        trace?: { action: string; result: unknown; step: number }[];
    }
    Index

    Properties

    error?: string

    Simulation error

    result?: { gasEstimate: string; returnValue?: unknown; wouldSucceed: boolean }

    Simulated transaction result

    Type Declaration

    • gasEstimate: string

      Estimated gas

    • OptionalreturnValue?: unknown

      Return value (if applicable)

    • wouldSucceed: boolean

      Would the transaction succeed

    success: boolean

    Whether simulation succeeded

    trace?: { action: string; result: unknown; step: number }[]

    Execution trace (for debugging)