Skip to main content

Pure Function

A smart-contract function declared not to read or modify contract state.

Definition

A smart-contract function declared not to read or modify contract state.

Why it matters

Smart-contract concepts are essential for understanding programmable blockchain applications.
Canonical knowledge ID: glossary:pure-function