Back to Browse

Payable in Solidity: A Comprehensive Overview | Solidity for Beginners

279 views
Aug 7, 2023
10:29

Payable:- Function that can accept ether as an input. When a contract is called with a payable function, the caller can send ether along with the function call. The ether is then stored in the contract’s balance, which can be accessed using the “address(this).balance” property. Remix https://remix.ethereum.org #solidity #ethereum #ether #smartcontract #ethereumblockchain #require #revert #callbacks #memory #views #payable #smartcontracts

Download

1 formats

Video Formats

360pmp414.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Payable in Solidity: A Comprehensive Overview | Solidity for Beginners | NatokHD