Function ink_env::balance

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

Returns the balance of the executed contract.

§Errors

If the returned value cannot be properly decoded.