Function near_parameters::cost::transfer_exec_fee
source · pub fn transfer_exec_fee(
cfg: &RuntimeFeesConfig,
implicit_account_creation_allowed: bool,
eth_implicit_accounts_enabled: bool,
receiver_account_type: AccountType
) -> Gas
Expand description
Helper functions for computing Transfer fees. In case of implicit account creation they include extra fees for the CreateAccount and AddFullAccessKey (for NEAR-implicit account only) actions that are implicit. We can assume that no overflow will happen here.