⌘K

Icon SunFilledIcon MoonStars
Scripts

Icon LinkScripts

A script, in Sway, is runnable bytecode on the chain which executes once to perform some task. A script can return a single value of any type.

Learn more about scripts here Icon Link.