Skip to main content
  • Snap

snap_createInterface

Parameters

ui

JSXElement

The components to display in the interface.

context

Record<string, Json> | null

Returns

string

The result returned by the snap_createInterface method, which is the id of the created interface.