Skip to main content
  • Snap

snap_scheduleBackgroundEvent

Parameters

request

{ method: string; params?: (((Record<string, Json> | Json[]) & ExactOptionalGuard) & JsonRpcParams) | undefined; }

The request to be called when the event fires.

Returns

string

The result returned by the snap_scheduleBackgroundEvent method, which is the ID of the scheduled event.