pub fn storage_byte_cost() -> NearToken
Expand description
Price per 1 byte of storage from mainnet genesis config. TODO: will be using the host function when it will be available.
ยงExamples
use near_sdk::env::storage_byte_cost;
use near_sdk::NearToken;
assert_eq!(storage_byte_cost(), NearToken::from_yoctonear(10000000000000000000));