UNPKG

@chainlink/functions-toolkit

Version:

An NPM package with collection of functions that can be used for working with Chainlink Functions.

16 lines (15 loc) 523 B
type Hexstring = `0x${string}`; interface SimulationParams { source: string; secrets?: Record<string, string>; args?: string[]; maxHttpRequests?: number; maxResponseBytes?: number; maxExecutionDurationMs?: number; } export declare const simulateScript: ({ source, secrets, args, maxHttpRequests, maxResponseBytes, maxExecutionDurationMs, }: SimulationParams) => Promise<{ result?: `0x${string}` | undefined; error?: Error | undefined; capturedStdout?: string | undefined; }>; export {};