Function ink_env::balance

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

Returns the balance of the executed contract.

Errors

If the returned value cannot be properly decoded.