← Back to Glossary List

Function

A block of code in a smart contract that performs a specific task when called.

To put it in plain English

Functions are like buttons in an app. Press one, and something specific happens behind the scenes.

© fluentDev 2025