Function std::context::msg_amount
pub fn msg_amount() -> u64
Expand description
Get the amount of units of call_frames::msg_asset_id()
being sent.
Returns
- [u64] - The amount of coins being sent.
Examples
use std::context::msg_amount;
fn foo() {
assert(msg_amount() == 0);
}