Function ink_env::transferred_value

source ·
pub fn transferred_value<E>() -> E::Balance
where E: Environment,
Expand description

Returns the transferred value for the contract execution.

§Errors

If the returned value cannot be properly decoded.