[−][src]Type Definition evmc_sys::evmc_get_balance_fn
type evmc_get_balance_fn = Option<unsafe extern "C" fn(context: *mut evmc_host_context, address: *const evmc_address) -> evmc_uint256be>;
Get balance callback function.
This callback function is used by a VM to query the balance of the given account.
@param context The pointer to the Host execution context. @param address The address of the account. @return The balance of the given account or 0 if the account does not exist.