Skip to main content
  • Snap

snap_getBackgroundEvents

Returns

{ id: string; scheduledAt: string; snapId: SnapId; date: string; request: { method: string; jsonrpc?: "2.0" | undefined; id?: string | number | null | undefined; params?: Record<string, Json> | Json[] | undefined; }; }[]

The result returned by the snap_getBackgroundEvents method.

It consists of an array background events (if any) for a snap.