pub fn value() -> u128
Expand description
Get the value associated with the message that is being processed.
This function returns the value sent along with a current message being processed.
§Examples
use gstd::msg;
#[no_mangle]
extern "C" fn handle() {
let amount_sent_with_message = msg::value();
}