Payable
Adjective · Development
Definitions
In Solidity, a function modifier that allows a smart contract function to receive Ether. Without the payable keyword, any attempt to send ETH to the function will revert. A critical part of writing contracts that handle cryptocurrency.
In plain English: A label on a blockchain function that says 'yes, you can send money to this function' — without it, the function will reject any cryptocurrency sent to it.
Example: "Forgot to mark the deposit function as payable. Every transaction reverted. Classic Solidity gotcha."