Quick question:
https://gateway.elrond.com/network/config allows us to get network configurations. Are values (erd_gas_per_data_byte, erd_max_gas_per_transaction, erd_min_gas_limit, erd_min_gas_price, erd_chain_id, erd_min_transaction_version) fixed one and I can hardcode them or it is better to do a network request before writing a tx?
I would suggest to fetch the config at the start :)
It might change so I wouldn't hardcode them, but they aren't changed that frequentely (in fact I think I have never seen them change) to justify having to fetch them for every transaction :)
I would suggest to fetch the config at the start :) It might change so I wouldn't hardcode them, but they aren't changed that frequentely (in fact I think I have never seen them change) to justify having to fetch them for every transaction :)