The preset properties to limit transaction fee. For more information about the SOL fee model, see Fee models. You can specify CU price and CU limit to adjust the priority and resource allocation of your transaction. Switch between the tabs to display the properties for different transaction fee models.
| 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. | |
| 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. | |
| fee_type | FeeType | ||
| token_id | str | The token used to pay the transaction fee. |
from cobo_waas2.models.transaction_request_sol_fee import TransactionRequestSOLFee
# TODO update the JSON string below
json = "{}"
# create an instance of TransactionRequestSOLFee from a JSON string
transaction_request_sol_fee_instance = TransactionRequestSOLFee.from_json(json)
# print the JSON string representation of the object
print(TransactionRequestSOLFee.to_json())
# convert the object into a dict
transaction_request_sol_fee_dict = transaction_request_sol_fee_instance.to_dict()
# create an instance of TransactionRequestSOLFee from a dict
transaction_request_sol_fee_from_dict = TransactionRequestSOLFee.from_dict(transaction_request_sol_fee_dict)