Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.24 KB

File metadata and controls

30 lines (21 loc) · 1.24 KB

SOLComputeUnit

Properties

Name Type Description Notes
compute_unit_price str The price paid per compute unit. This value determines the priority fee for the transaction, allowing you to increase inclusion probability in congested conditions. [optional]
compute_unit_limit str The maximum number of compute units your transaction is allowed to consume. It sets an upper bound on computational resource usage to prevent overload. [optional]

Example

from cobo_waas2.models.sol_compute_unit import SOLComputeUnit

# TODO update the JSON string below
json = "{}"
# create an instance of SOLComputeUnit from a JSON string
sol_compute_unit_instance = SOLComputeUnit.from_json(json)
# print the JSON string representation of the object
print(SOLComputeUnit.to_json())

# convert the object into a dict
sol_compute_unit_dict = sol_compute_unit_instance.to_dict()
# create an instance of SOLComputeUnit from a dict
sol_compute_unit_from_dict = SOLComputeUnit.from_dict(sol_compute_unit_dict)

[Back to Model list] [Back to API list] [Back to README]