near_sdk::env
pub fn attached_deposit() -> Balance
The balance that was attached to the call that will be immediately deposited before the contract execution starts