policy
- class Policy
Bases:
object
A class used to represent the Policy native contract.
Check out Neo’s Documentation to learn more about the Policy class.
- classmethod get_fee_per_byte() int
Gets the network fee per transaction byte.
>>> Policy.get_fee_per_byte() 1000
- Returns:
the network fee per transaction byte
- Return type:
- classmethod get_exec_fee_factor() int
Gets the execution fee factor. This is a multiplier that can be adjusted by the committee to adjust the system fees for transactions.
>>> Policy.get_exec_fee_factor() 30
- Returns:
the execution fee factor
- Return type:
- classmethod get_storage_price() int
Gets the storage price.
>>> Policy.get_storage_price() 100000
- Returns:
the snapshot used to read data
- Return type: